Note: Before you failback ensure that you stop the application on the recovery server.
After a resync operation completes, failback to return to the original production and recovery server roles. All servers must be active and running to execute resync and failback operations.
To initiate failback to the original production server, on the Recovery or Replicated and production servers execute:
rtdr -qC <Primary Context ID> failback