^QP - Go To Last Cursor Position - will jump you back to the cursor position prior to any of the following commands:

^C, ^Q1~0, ^QA, ^QB, ^QC, ^QD, ^QE, ^QF, ^QG, ^QI, ^QK, ^QR, ^QS, ^QV, ^QX, and ^R .

It does not return to these locations:

^QP, ^QY, ^W, ^Y, or ^Z

or to these:

^QL, ^QN, ^QR^QL (menu item), spelling checks as they return you to their start position anyway.