powershell.exe -WindowStyle minimized
solved the problem for me. this doesn't specifically applies to any shell but in general my PowerShell windows was not being minimized or getting to normal. I did some digging and above command worked fine for me.