Like most command prompts that i am aware of, if you enter a wrong cmd you should remain at the prompt but will receive an error similiar to QSH’s “Error found searching for command xxxx”. Unless your session exited or disconnected?
SysReq, 2, Enter
The program you ran is expecting input. Since you didn’t provide it with any, it has defaulted to receiving input from the ‘standard input’ device (your terminal). You can’t use the normal *nix methods to end that, but the normal OS/400 ‘end previous request’ works just fine if you are using qshell interactively.