If you have gap insurance and your car is totaled
https://simonlrcp251.image-perth.org/what-to-do-immediately-after-a-car-crash-legal-tips-from-experts
If you have gap insurance and your car is totaled, contact the gap provider to cover the loan balance that exceeds the actual cash value.