"iPhone not staying on after update: my iphone 17 pro max updated overnight without me okaying it and my phone is now unusable it turns off every 5 mins and wont stop even if I’m not touching it. I’ve tried everything and took it to Verizon what else can I do before replacing it?"
-------
Boot Loop:
Seeing "it turns off every 5 mins and wont stop", are you saying it is just powering off, or that it is restarting continuously? If it is restarting, then it is stuck in a Boot Loop. This typically happens when you unsuccessfully download somethings or an install stalls. So, refer to my User Tip: How to Fix an iPhone in a Boot Loop - Apple Support