A car is totaled when the cost of fixing it is more than the cost of buying a similar used car in good condition.
The broken car is a sunk cost. It doesn’t matter how much you paid for it. It’s a gift from the you of yesterday to the you of today. And it arrived broken, so broken that it’s cheaper to buy a different one than to fix this one. Reject the gift from your earlier self. It’s no gift at all.
Sunk costs are all around us. Commitments and engagements and assets that were hard to get, but are now totaled. They’re gifts from the you of yesterday, and it’s okay to refuse them.