Step 1. Go to the top of screen you want to exit fullscreen from
Step 2. Press the green button on the top left corner
This is for enabling fullscreen too.
Read also: How To Reset MacBook Pro
Press Command + Control + F
Use this to enter fullscreen as well