You can drop a database replication definition, but you must first have dropped all associated database subscriptions.
See Replication Server Reference Manual > drop database replication definition for syntax and usage information.