Guest Stars DeForest Kelley as Dr. Leonard Horatio "Bones" McCoy James Doohan as Lt. Cmdr. Montgomery "Scotty" Scott George Takei as Lt. Hikaru Sulu Grace Lee Whitney as Yeoman Janice Rand Jim Goodwin as Lt. John Farrell Garland Thompson as Wilson Edward Madden as Geological Technician Fisher Uncredited William Shatner as Negative Captain James T. Kirk