The insurance company will sell it to the highest bidder, who will either dismantle it for parts or re-sell it after repairing it.