I dont think this is how it works in the real world.
Even if it did, giving it away would be equally a write off as just shutting it down.