Move window back from out of the screen
Solution 1:
Regardless of the position of the window you can use the commands in the menubar to get the window back on the screen (in most cases).
-
Make sure that the application of the off-screen window is in focus. You can use CMD+Tab to navigate to the app and focus it.
-
In the menubar go to Window → Zoom (second option of that menu)
The off-screen window should now move onto the screen.
Solution 2:
You can drag a window by any part of the bottom edge, so long as you're not triggering the resize arrows.
If you're really stuck, then add Zoom as a key command…
If this happens in one specific app, contact the developer. Windows shouldn't ever go offscreen entirely, or ever cross the menu bar.
If all this fails, close then re-open the Window - it ought to be forced back inside the screen.