This terminates any communication with the publisher. Any pending synchronization communication is disconnected and all subscribed publications are marked as 'OFF'. The effect is reversed on a subscription by subscription basis by calling repl_sync for each.
This is to disconnect from the publisher server 'demo-srv', the all subscritopns to this server will be disconnected.
SQL> repl_disconnect ('demo-srv');