why hard exit editor? Nano say at bottom.
https://lemmy.world/post/43888601
Just use ed.
Ctrl+C. Easy.
bash: ed: command not found WHERE GOD NOW?