Nah, it'll be fine, no worries on the battery pull.
If a phone just glitches, it can freak out and re-boot itself as you describe.
If it does that very often, you've gotten something tangled by something, best then to backup everything and do a factory reset.