Warranty covers a manufacturer defect. If it’s not a defect then it’s damage, so as long as the high voltage battery is covered by your insurance policy then the “how it happened“ is irrelevant as you, the owner/ driver have damaged it while using the vehicle.
Had a customer with a Taycan hit...