If either the card causing the side battle or the card causing a loss by removal is CBI or CBN, you are out of luck.
Otherwise, depending on initiative and order and alignment of cards played, you may be able to play a negate all, negate last, negate specific, or ITB.