Star Trek: The Next Generation, "Contagion"

'''"Contagion." Star Trek: The Next Generation.''' 18 March 1989. Joseph L. Scanlon, dir. Steve Gerber and Beth Woods, script.

Features a starship-destroying computer virus that also infects Mr. Data. Data cures himself by shutting down and rebooting on alternate pathways (our formulation), for a death, purification, and resurrection motif, in—depending on how one sees Data—a robot/cyborg/android mode.