Trying to remember this stuff I seen years ago.
It was a color short (<1 hour) movie - an episode of some series?, dealing with a retired soldier's conscience being connected to virtual reality, where he is required to remember something important, that will save the lives of his relatives (?) in the real world.
He meets his relatives, talks to them, but suddenly starts to "see" the real world computer that keeps his life at the very end.
I think it was more a "brain in the jar" scenario, rather than mind upload; it's not on the new Outer Limits; the computer was imaged as (at least) post-1980's machine (not some steam science). It's neither Doctor Who, nor Lazarus (remarking to Old TV mini-series with a living brain in a lab); neither it is old Outer Limits 's Brain of Colonel Barham