My cat often rubs around the lid of my laptop, so the same happened to mine once. I tried everything to no available, so I asked my granddaughter. Needless to say she rectified it straight away, by holding the cursor anywhere on the top edge of the screen and moving it cross. She did it so quickly I am not exactly sure what she did, but hope this helps. Good luck!
When you were in Settings/Display, did you try this? Change the screen resolution, orientation, and scaling. Ensure that the resolution matches your monitor’s recommended setting.
My laptop screen has suddenly moved across to the right and I can't correct it because it's too far across for me to click on the "square" next to the minimise icon... .
I've googled but none of the suggestions have worked because they don't appear for me to click on.
I've looked at Settings/Display but there's nothing there to help with this particular problem.