dbcc ha_admin includes the rollback_failover and rollback_failback options. These dbcc options should be only as a last resort, and only by System Administrators who are knowledgeable about the high availability subsystem.
These options allow you to rollback the steps performed by:
A failover that did not complete because of either a problem with the high availability subsystem (for example, all the disks were not available during the failover, so the companion marks all the databases as suspect) or the secondary companion crashed during the failover.
A sp_companion...prepare_failback the did not complete because of either a problem with the high availability subsystem or the primary companion failed to reboot during the failback steps.
You must preform platform specific steps before you issue either dbcc ha_admin rollback_failover or rollback_failback. See the configuration chapter for your platform for information.