Kirk, Scott, McCoy and Uhura accidentally switch places with their malevolent counterparts from a parallel universe.
A miners' rebellion interferes with the Enterprise's mission to collect a badly needed medical compound.