If the battery is damaged in an accident, then it is likely to be a total write off.
Regular cars also get “Totaled” by insurance when the air bags deploy.
TOO expensive to replace.