Never give financial or love advice. They’ll blame you however it turns out.
If I were him I’d bail. I’ve never heard of anyone receiving a 1099-C for debt cancellation following a foreclosure because it’s not debt cancellation since he’s giving up his downpayment and his collateral.