If you have gap insurance and your car is totaled
https://josuehihs051.clearhavendigest.com/posts/settlements-vs.-trials-choosing-the-best-path-for-your-case
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.