Troubleshoot Xbox console unexpectedly turning off
Important System corruption can sometimes spread to external storage devices, so unplug any external storage (such as external hard drives) before performing a system reset and leave such devices unplugged until you’re able to verify whether the issue is still occurring after the reset.