Yes this is very annoying issue... try this... works for me. (Windows 7 and above only I think)..
Click on the taskbar icon for the console, it will look as if it did nothing.
Press Windows Key + Up Arrow, and your window is restored! (at least it worked for me).