@systemd this honestly did happen to me recently. visudo started a nano editor. I didn't know how to exit without saving. Keys which make sense like ctrl-c or ctrl-d did not work. I think I was able to background with ctrl-z and use kill.