how do i get the cursor to return to its previous position?
Hi there and welcome to the forums!
You can press the numpad zero key.
For additional info: