there's a way to undo a move: Ctrl+Z. sometimes you'll have to press it several times to get to the state where you hadn't softlocked.