If you can currently see your menu bar, then just click the "+" in the top-left of the Safari window. Counter-intuitively, it will probably make the window smaller. If you can't see your menu bar, move your mouse all the way to the top-right of your screen, and click the blue icon to take you out of fullscreen.