Undo subshell