How to awake Emacs GUI after pressing Ctrl+z

If you press C-z by mistake then you can add this to your .emacs to make C-z do nothing:

(global-unset-key (kbd "C-z"))

I did that after pressing C-z many times by accident.


Type

fg 

or

fg %emacs

to get Emacs back.