California allows you to buy back your car from the insurance company after it's totalled. Usually they get very little for it, and it's worth doing if you want to resell it or part it out yourself. If not, you can always sell it to someone like me, that uses EV parts in re-powering projects...