Star Trek: Voyager - Season 3 Episode 15 Coda Charting the new frontier
Overview: Stardate: 50518.6. Captain Janeway repeatedly dies after she and Chakotay crash into a planet in what appears to be a time loop. Soon, her deceased father appears and tells her that she is dead and must accept her situation and move on.