If you totaled the car and still owe money on it, yes, you would keep making payments. The insurance company has no obligation to pay off your loan, only to pay you (or the lender) the actual cash value (ACV) of the car at the time of the accident.