Series: The Animated Series
Air Date: September 28, 1974
Written by: Dario Finelli
Directed by: Hal Sutherland
Turns out a whole race of aliens thinks Bones killed half of them with a plague 19 years ago and now they wanna put him on trial.
While delivering medical supplies to Dramia, the Dramians accuse Bones of killing them all with a plague. This, naturally, makes a lot of sense and Kirk immediately hands Bones over to the authorities. Bones is summarily executed, and the Enterprise returns home. Wait, no, that's not what happens. They fight it. They don't believe Bones could have anything to do with it. In order to investigate the plague, they have to go to the Dramia system's other planet, and that's when the fun begins.
Along the way, Demos, the Dramian head of security starts following them. In order to trap him, they open up the shuttle bay doors, basically inviting him inside. When he lands, they trap the ship and force Demos to come along for the ride. And then they pass through a magical rainbow aurora that obviously has nothing to do with anything but is just there to look pretty...
Spock, however, appears to be immune. So he's the only one who can beam down to Dramia I without infecting anyone. She he uses that power to bust Bones out. Bones gets back on the ship, discovers that the aurora actually caused the plague... somehow... cures everyone and clears his name all in one swift stroke. The Dramians let him go and forgive the "unorthodox" method of his escape. Huzzah!
While I was watching this I was kind of bored, but typing it out, I realized that I actually kind of dig the story. This same thing has happened way too much in the Animated Series. The animated format just was not made for Star Trek, I suppose.