In most countries when you go bankrupt, you go out of business. In the US you usually go into Chapter 11. This lets you default on some of your debt, renegotiate contracts, and then come out of bankruptcy stronger than before.
The problem with this is shown with airlines. They would all make a profit if they could just lose some of them. Unfortunately whenever that looks like it might happen, the loser goes into Chapter 11, enjoys a competitive advantage, recovers, and comes out of it stronger. Then someone else goes bankrupt.