Use sp_reptostandby with the none option to turn off data and schema replication.
sp_reptostandby dbname,'none'
When replication is turned off, Adaptive Server locks all user tables in exclusive mode and saves information about each of them. This process may take some time if there are a large number of user tables in the database.
Use this procedure only if you are disabling the warm standby application.
Also, if the database is marked for replication to use indexes on text, unitext, image, and rawobject columns, sp_reptostandby dbname, 'none' also drops indexes for replication on tables not explicitly marked for replication.