 Only after Miss Annie, one of the dancers from the local tavern and also now looking like Data, thanks Worf for his bravery and throws herself into Worf's arms, does the story end, allowing the three to leave safely.Data and the ship's computer are restored to normal, and Worf promises to join Alexander on the holodeck for another adventure in Deadwood.As a final nod to the Western genre where heroes are often seen riding off into the sunset, the episode concludes with the Enterprise flying toward and seemingly into a star that is half obscured by a nearby planet.