When you catch yourself in a spacey state, can you recall your last complete thought?

I caught myself adrift, in an out-of-focus glance in the direction of the plants on my table. Suddenly, I remembered a mentor of mine. His name popped up at the edge of my consciousness, like some sort of welcome intrusion, and I felt the urge to call him. His number was disconnected. I decided I would look him up. I felt a rush of anxiety, unsure but anticipatory.
He passed away last November. The last time I’d seen him was with my now ex-partner. A history buff, we brought him a book from a museum we last visited. He served us the most balanced lemon cookies.
Rest in power, Dr. G. I’ll catch you down the rabbit hole.