Insurance wants to total my car

You have given no information on the extent of the damage or the repair estimate so it’s impossible to say if you have any leverage with which to negotiate. However, this should tell you something about the extent of the damage to your car:

They told me if I have it fixed then they will no longer insure my car.