PostgreSQL stop streamig replication
You'll have to drop the replication slot that is associated with the replication. Check the recovery configuration for the name.

Note that replication will break soon after you do that.