I was moving my PC while it was turned on (at the Windows 10's Login screen) when I heard some electrical spark sounds from the back and the PC fell out. Looking at the back I noticed that I didn't push the power supply cord firmly into the PC socket, so it fell out while I was moving the PC.
Now from what I've read, a PC shutting off unexpectedly could mainly corrupt files and to a lesser extent damage hardware. My PC is running normally afterwards and chkdsk didn't find any problems. But what I am really worried about were the electrical spark sounds because of the power supply being a bit loose.
Do these sounds hint for surges and/or electrical fluctutations within the PC before it fell out, which give a higher risk of damaging the hardware? In other words, was it more safe if the plug got disconnected immediately instead of creating sparks for a short time first?