Press a shortcut again to undo the action?

You may press esc to close the context menu.