Gunfight at the O.K. Corral
In the episode, having been found trespassing into Melkotian space, Captain Kirk and members of his crew are sent to die in a re-enactment of the Gunfight at the O.K. Corral.