Which issue? the crash/restart with an overclock or the resetting CMOS (BIOS)? There's a setting in BIOS that should tell it not to reset CMOS on failed boot up, but I think you want that to happen for now at least.
Does it reboot immediately? or after a while of operating? The movement could have dislodged the water block/pump so it's not cooling the CPU well. In which case, remove, clean and reapply TIM.
What VCore voltage are you running the processor? 3.9Ghz is pretty high overclock for a 1700X so it usually needs some increased voltage to stay stable. I'm not sure why just moving could affect it but you might need to increase it.