I remember in college (mech ENG BTECH) I had a coursemate who's day job was a programmer on the CNC side.
She mentioned that this had happened to a v high end CNC machine the cutting tool after a power cut went straight to the home position very $$$$$$$
At my place we had a computer controlled wave tank and as the guy I shared an office with said you could program the ram to go full travel in zero time which would have flooded the lab.