Same as other unsecured creditors, unless the company convinces the bankruptcy court & the other creditors it's to the benefit of the business in the long run to give them what they paid for.
Most corporate bankruptcies are restructurings, not liquidations.
Most corporate bankruptcies are restructurings, not liquidations.