Ouch. Sorry for your ride and the financial pain to follow.
But to inject a little levity, you reminded me of a sports car race I attended back in the day. The driver who lead the entire race dropped out on the back straight of the last lap and didn't finish. When towed in and asked what happened, he replied "I had electrical failure: a connecting rod sheared the battery cable."