You can remove a module from go.mod using none as follows:
$ go get github.com/rabbitmq/amqp091-go@nonego: removed github.com/rabbitmq/amqp091-go v1.8.1