Ended Account, but website still shows up on search engines

Hey everyone. I recently shut down my domain registrations for two domains I create here. When I had the sites up, they didn’t even show up on the front page when I searched for them on Google. After I shut it down, they suddenly showed up as the first item found and it has the cached versions of my sites. Does this have to do with the DNS still being active? I’m so totally lost and new to this…

It is the search engine caching your site.

yes actually they are