You let them fail and wipe out the shareholders. Let the shareholders cover debts. Forgive the rest of the debt. Wipe out the management team as well.
Airline comes out nimble and debt free. Average Joe still has airline competition. Shareholders get wiped out, but that’s the risk you run for yield.