Hi,
Does the shutdown box pop up on a specific time or after a specific action?
Please open Task Scheduler, and tick Task scheduler Library to check if any related task created here. If yes, please check the tasks' description in general tab and it's trigger.
If there is no related task created, please if any related information recorded in Event Viewer\Windows logs\System, also we could monitor if the issue occur in Safe Mode and Clean Boot environment to eliminate third party reason.
Bests,