At least power off and unplug and replug those cables to that drive.
Also, check for latest BIOS UEFI FIRMWARE for that motherboard.
Finally, just replace the CMOS battery. Don't check it. Just replace with a new one.
To elaborate on the title (forgive its vagueness), My desktop PC running win 10 on an SSD will occasionally bluescreen randomly. When my computer restarts, I get an error message because it automatically tries to boot from my HDD which has no OS installed. When I go into the BIOS to change the boot order my SSD is gone. *poof* When I do a hard power off, instead of letting it restart and loop into error messages, and go into the Hard Drive BBS priorities, my SSD is back and it starts fine.
Every bluescreen the exact same thing happens, there is no connection to any action causing the bluescreen, and it seems to happen at my desktop's whim. (which is not to often, thankfully)
My question is: What component could be causing this? What am I looking at replacing?
My best guess is MB or SSD.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic