There isn't anything that remembers your last TP location. However, that is somewhat what the RAT teleports are for, the !t, !at, !rt, !lt commands.
You can create a teleport right before you teleport elsewhere, then teleport back to that place.
Example:
!at stash
!t home
!t stash
This would create a teleport called "stash" where you are standing. Then, teleport to "home" (I'm assuming you had a teleport already set to "home). Then, do what you need to do, and when you want, teleport back to "stash".