When Alan Dean Foster wrote his final TREK LOG 10, it was also a novel-length version of the sole remaining animated episode with plot additions........notably the multiple body-switcheroo plot used on THE FLINSTONES and GILLIGAN'S ISLAND. Kirk, Spock, Uhura and Sulu suffer a transporter malfunction. Kirk's consciousness goes into Sulu's body (oh. my), Sulu's mind into Spock, Spock's into Uhura (!) and Uhura's into Kirk's (!!!)
McCoy picked a good day not to use the transporter.