You could hit `Ctrl``C` instead to avoid running the command, then the up arrow and `BackSpace` to remove the offending quote.
You could hit `Ctrl``C` instead to avoid running the command, then the up arrow and `BackSpace` to remove the offending quote.