Bankruptcy is a battlefield, but the fight is over when you shake on it