MUDD: Kirk, now what's this I hear about my having to stay here?
KIRK: Yes, Mudd, you've been paroled to the android population of this planet.
SPOCK: The androids are being reprogrammed. Their original purpose was to adapt this planet for productive use. They'll begin that work again.
MUDD: But what do I do? Kirk, I'm no scientist.
KIRK: No, you're an irritant. You'll stay here and provide a first-class example to the androids of a human failure. They'll learn by close observation how to avoid ones like you in the future.
MUDD: How long?
KIRK: As long as you continue to be an irritant, Harry. It's up to you.
MUDD: I suppose that taking everything into consideration, as it were, and noting all the different possibilities, I could manage. And as detention sentences go, this one isn't too uncomfortable. And I'm back in the galaxy again!
KIRK: Yes, you are. Oh, there's one more thing, Harry. We've programmed a special android attendant to take care of your every need. She'll help you find an incentive to work with the androids and not exploit them.
MUDD: I call that unexpectedly civil of you, Captain.
KIRK: Yes.
STELLA 1: Harcourt! Harcourt Fenton Mudd, what have you been up to? Have you been drinking again? You answer me!
MUDD: Shut up!
STELLA: You miserable, conniving toad!
MUDD: I order you. Shut up, Stella!
STELLA 1: Staying out all night then giving me some silly story.
STELLA 2: Harcourt! Harcourt Fenton Mudd, you've been overeating again and drinking.
MUDD: Kirk, you can't do this.
STELLA 2: You need constant supervision.
MUDD: It's inhuman.
STELLA 2: I can see I've got my work cut out for me.
STELLA 500: Harcourt.
MUDD: No. Number five hundred? No, no, no.
STELLA 500: What have you been up to?
MUDD: (barely heard over the cacophony) Kirk. It's inhuman. Mercy.
KIRK: Goodbye, Harry. Have fun.