How to leave the execute prompt in zsh

Ctrl+G aborts the current editing command in Bash and Zsh if you are in Emacs mode (which is usually the default mode).