You can get out of full-screen mode on Discord by pressing Ctrl + Shift + F keys together.