While browsing processes on a shared server in top I accidentally hit the r key which prompted me with renice. I had no clue what this was going to do with my input and found no way to go back.
I tried ^C, ^D, <ESC> among other things and ended up just typing some garbage like asdf; which got me out. Is there a sane way to cancel a command that you type interactively in top?
qto get out of the top command.^Dworks for me too so I don't kno why it doesn't for you.