Twilight: Enterprise rips off Before and After (not to mention All Good Things, Timeless, Endgame, and probably about a dozen other Trek episodes I can't be bothered remembering right now).
Archer's woken by thw ship being shaken, is almost stopped from leaving his room, and reaches the bridge in time to see a
Archer wakes up again, an old man. Are we ripping off "All Good Things" again? T'Pol serves breakfast and promises to answer all his questions. Flashback 12 years - while retrieving T'Pol from under a fallen bulkhead, Archer is hit by an anomoly and wakes up in sick bay, where Phlox explains that there are parasites in his brain which are affecting his long term memory and preventing him from remembering anything from more than a few hours ago.
T'Pol thanks him for helping her in the corridor, and takes a call from Star Fleet, making her captain and relieving Archer of duty. Phlox proved unable to remove the parasites. Enterprise continued tracking down the Xindi weapon until the ship was badly damaged during a Xindi attack.
Back in the future, T'Pol breaks the news that the Xindi destroyed Earth and the other human colonies, leaving only six thousand humans alive.
As the convoy carrying the remains of the human race nears Ceti Alpha 5, Soval meets with T'Pol to ask her to return to Vulcan. Unsurprisingly, this doesn't work. When they reach Ceti Alpha, T'Pol resigns and turns the ship over to Trip.
Back in the future, Phlox turns up to give Archer a checkup. He's come up with a treatment to remove the parasites, which will require the power of Enterprise's warp engine. They nip up to Enterprise, which has been patrolling the system, and pop down to engineering to check out the equipment.
While Archer's undergoing the treatment, Enterprise detects an odd hull signature orbiting the sun and goes to check it out. Oh, Reed has a nice beard of evil there. They pursue and disable the ship, and bring it into the cargo bay. Archer's procedure is a success. The pilot of the ship says he was hired to follow Phlox.
Phlox discovers that the eradicated organisms have made them disappear from all previous scans as well. He and T'Pol are convinced if they remove all the organisms, it will change the past.
Xindi ships come into the star system and there's a big-arse battle. Archer wakes up and heads for the bridge, but before he can get there, the bridge is destroyed. They head back for engineering, but the chamber to remove the parasites is destroyed.
Archer sets about overloading the warp core to create a subspace implosion to kill the rest of the parasites. The ship explodes, and we zoom back 12 years to Archer waking up in sick bay, retconning the entire rest of the episode.
T'Pol thanks Archer for rescuing her, and he asks her for another pillow. Teh end.
To the Enterprise production team: you guys suck. Stop remaking the same damn story over and over.