From an isql session connected to the secondary companion, issue:
sp_companion ‘primary_companion_name’, ‘prepare_failback