This is a tax, not an accounting question so IMO, ASPE is not relevant.
What IS relevant is the Lender-Borrower relationship. The government is not the lender, the bank is, and their Agreement (that the borrower signed) will govern the loan.
Each bank will have its own specific “CEBA Terms and Conditions” statement, but they seem to follow a pattern. Among other things (this is from the Alberta Treasury Branches site):
If You have repaid at least 75% of the Term Loan Amount, and the Credit Facility is irrevocably cancelled, on or prior to the Maturity Date, We will forgive the remaining balance of the Term Loan Amount as of the Maturity Date provided that an Event of Default has not occurred.
The maximum “forgivable” portion of CEBA is 25% of $40,000 or a maximum of $10,000 and is contingent on the “balance of the loan” being repaid prior to Dec 31, 2022.
It would appear from the above, that NO amount is forgiven if a Default occurs.
11. Events of Default
Without restricting ATB’s right to demand payment at any time as described in the Credit Agreement, ATB may, by notice to You, terminate any or all of the Credit Facility and demand immediate payment in any of the following events: {snip} (c ) You undergo or experience an Insolvency Event; {continues}…
…following which they say:
12. Remedies
We have the right to require immediate payment of the Credit Facility at any time and, at ATB’s option, to exercise any of the remedies below, and, if an Event of Default occurs, We have the right, at ATB’s option, to: (a) declare all or any amounts which are not by their terms payable upon demand to be immediately due and payable; (b) reduce the amount of, or terminate, the Credit Facility; (c ) demand that You immediately pay back the full amount You owe Us; (d) refuse to make any more advances or provide any financial services to You; (e) declare You to be in default under any other agreement with ATB; (f) automatically debit any of Your accounts with ATB for all amounts payable by You pursuant to this Credit Agreement; and (g) invoke any other rights permitted by law.
The bank will do what it needs to do and will attempt to collect from whomever it can.
The principal amount of the loan would appear to be still a loan until such time as it is either repaid (and gets a grant entitlement, taxable), repays with no grant (no change, just a debt repayment) or fails to repay in whole or in part (insolvency, and likely bankruptcy).
For a proprietor or partnership, this likely means collection action against the individual; for a corporation, probably not. The OP didn’t say if the business is incorporated or not.
If the biz is able to repay only $25K of $40K, and is insolvent, what happens? Well, it won’t get the grant as it failed to meet the terms, and I would assume that normal gains on settlement of debt rules would apply. Why would they not?
My take, anyway.