alt+x closes programs (along with alt+f4) so don't do that. I think Windows + a key also closes the program you're in.
If you use the in game "steam friends" I think you can then alt+tab like you were in windowed mode (or just alt+enter before you alt+tab like people are saying).