You can undo a deleted or moved key with ctrl + z and redo with ctrl + y.
See All 18 Episodes of "The Computer Medic"