Do you see the X in the top right corner still? If yes, click the square to the left of it.
If it's hidden behind the taskbar, right click on the taskbar-->properties-->check the box to 'auto hide,' click apply and ok. After a second, the taskbar will shrink down at the bottom, and you should be able to grab notepad. Then you can uncheck the box to autohide the taskbar.