Don’t give up just yet, although it depends on what car it is and how close to dying it was previously. One of my old cars, a Mini I had as my first car, disappeared off the DVLA registers for a few years saying the reg number didn’t exist but it popped back up after nearly a decade. Turned out it had been on a private plate so the details went to that number instead. Another one of my old cars showed as no tax or MOT for over 6 years before I saw it driving around, all restored and definitely alive. That was only a crappy Nova so hardly worth anything at the time but it turned out the old guy who owned it before me had an emotional attachment to it. He saw it for sale as a spares car a year after I traded it in and bought it then made it good again. I actually followed him into a car park to check it was the same car, definitely was as it had the exact welding pattern from where I had replaced the boot floor and even the drilled holes from where I’d mounted a false floor for my sub and amps (it was the era of Max Power, don’t judge!).
It’s surprising what cars get squirreled away to reappear years down the line, just look at what cars the Urbex lot find regularly. What car was it?