So you’ve changed you primary, secondary screens and now notepad opens off screen and you can’t get to it. Alt-tabbing does nothing to fix it, how do you resolve this?
The default position for Windows Notepad is stored in this Registry key:
HKEY_CURRENT_USER\Software\Microsoft\Notepad
Close all open Notepad windows and change the following values as shown:
iWindowPosX : 0
iWindowPosY : 0
iWindowPosDX : 200
iWindowPosDY: 200
This would set default position to top-left. You can resize and position Notepad window later as you wish.

Thank you so much. I don’t have the option to move the notepad and it is completely off screen so I can’t move it at all. All the other answers where telling me what a 3 yo could figure out on his own.
Thank you. It worked
Good to hear it’s working for some people