You would only want that car totalled.......here is why.....CARFAX
once it is fixed.CARFAX will show a MAJOR accident has occured with this particular vehicle.
Any potential buyers in the future may not want or be willing to purchase a car with MAJOR accident damage....CARFAX lists major and minor accidents......
It also potential buyers may not be willing to pay full value of the car.
I would only hope you have it totalled.