Kind of hard to say...since you didn't mention what application (or if you're talking about the OS itself)...but hitting the "Escape" Key (esc) usually does it.
Native full screen mode is exited just as bobtomay notes. Projector mode would be an application specific function and consequently, you'll need to exit this using the shortcut of that particular applications.
Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.