Frank, the best way to prevent this from happening again is to purchase and Uninterrupted Power Supply (UPS):

https://www.amazon.com/APC-Battery-Prote...2xpY2s9dHJ1ZQ==

When the power goes out or there is a brown out the battery in the UPS powers your computer and monitor so you can safely shut down. I have one on every computer here. Some people put them on their TV and audio systems.


Life is short so make sure you spend as much time as possible on the Internet arguing with strangers.

64 bit Win 10 Pro, the latest BiaB/RB, Roland Octa-Capture audio interface, a ton of software/hardware