To come into someone's thoughts suddenly and fleetingly.
To appear suddenly in one's thoughts, often as an example of something.