When they filed for bankruptcy protection in the US and CCAA in Canada, that provided protection from creditors and especially from those creditors foreclosing on anything and everything. That's what it's for. The restructure failed, as nobody, not one creditor, saw a way to reorganize, restructure, refinance, etc., the company and make it profitable in the state that it was in, so it went to liquidation, ordered by the CCAA judge and empowering the monitor to manage it.
It is what it is, the liquidation proceeds were insufficient to pay the debt owed to all creditors. The rest of the debt is still there, the judge just eliminated them from being secured by the assets of the company.