[Master Answer Logo]
Question

Red dwarf?

Answer

Finally, in the eighth (and so far final) series, Red Dwarf itself is reconstructed by Kryten's nanobots that had stolen it and broken it down into its constituent atoms. In the process, the entire crew of the ship — including Rimmer — are resurrected, but the Starbug crew all find themselves sentenced to two years in the ship's brig on a set of convoluted charges. The series ends, however, with Red Dwarf being eaten away by a virus and all on board evacuated, save for Rimmer who is left to face Death, The Grim Reaper, for the second time. Unhappy with his predicament, he knees Death in the groin and runs away — although the cliffhanger ending leaves this open to interpretation.

— Source: Wikipedia (www.wikipedia.org)