A donotation, like a gift, is permanent; it may not be undone, and it does not come back to the giver or donor if the recipient goes under, files for bankruptcy, ceases to exist, etc. Whatever was given to the non-profit is now part of its assets and will presumbably be sold to pay for the non-profits debts and obligations.