If the OP is having this problem constantly, and with no heat build up, then I would guess the battery is just worn out from use.
Thin dendrites - the usual kind - burn out before there's much heat generated
in them - not enough to warm the battery enough to measure.
the sudden shutoff and reboot
Is due to the dendrite shorting the battery just long enough to trigger the reboot, then burning out.
dendrites tend to drain it completely
If they're thick enough. Almost none ever are.
you would be left with no charge
No, a lithium battery, even shorted with a 1" square screwdriver, for a second, recovers some (like 20%-30%) charge once the short is removed -
which is why lithium batteries are so dangerous. Short one with a key, in your pocket, and you could lose your leg as the key becomes molten and melts through your flesh, destroying blood vessels and nerves.
(It's why lithium battery-driven 18650 welders work - a dead short [slightly higher resistance than a screwdriver] welds the strip to the battery - and you can do at least a few hundred welds per charge. [I usually do about 16 welds per strip end, about 3 or 4 per spot - and I can weld a few hundred strips from one charge.])
This you can test for if you have a meter capable of measuring the internal resistance of the battery, but I have no idea if your average repair shop would have such a meter.
A voltmeter and a 0.1% resistor is all you need.
In either case, I think we can all agree it's most likely a problem with the battery itself and should be replaced.
Definitely - dendrites can't be repaired.