generally hard hangs happened in the graphic driver. then you reboot then at that time the system checks a setting to see if the last shutdown completed. if it did not complete
(since you rebooted from a hard hang) the event power error 41 is recorded in the event log. you would also get this error recorded if you had no hardware problems and just unplugged the power cord. The error is recorded on the next boot.
so, focus on fixing the hard hang problem.
do this: go to the motherboard vendors website and update the bios and motherboard drivers. then reboot, then go to the gpu vendors website and update the graphic drivers. (be sure to include the gpu sound driver)
the most common cause of a gpu hang is due to sound drivers conflicting with the gpu sound support for hdmi sound. most often caused by a conflict with a old sound driver on your motherboard.
there are other common causes of a gpu hang. the new malware now runs programs on your graphic card to mine bit coins. GPU overclocking software can overclock the GPU too much. Windows update will sometimes update the gpu driver but not the GPU sound driver (windows update requires a reboot after it updates a gpu driver)
generally most hardware errors will eventually result in a bugcheck, but graphics drivers have less error checking since they have to run very fast. so when it hangs and the graphics does not refresh, windows is seeing the gpu still executing code and has not detected the problem so it can call a bugcheck to stop the system.
you can also sometimes avoid this hang by disabling high definition audio devices that you do not have a speaker connected to. (better to get updated drivers and not have to worry about it any more)