If you have gap insurance and your car is totaled
https://paxtonrukk261.theburnward.com/understanding-liability-waivers-when-renting-vehicles-or-using-rideshare-services
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.