The Charlie X Incident

On stardate 1533.6, the Federation starship USS Enterprise NCC-1701, commanded by Captain James T. Kirk, takes charge of Charlie Evans, a teenage boy from a small science vessel called the USS Antares. As a child he was the sole survivor of a transport ship that crashed on the planet Thasus. For fourteen years Charlie grew up there alone, stranded in the wreckage, and only learned how to talk from the ship's computer systems that somehow remained intact.
The boy is to be transported to his nearest living relatives on planet Alpha V and the crew of the Antares speak nothing but praises about Charlie. They seem, however, more than pleased to see the boy removed from their ship as soon as possible and after the transfer, they bid the Enterprise an unusual and very hasty goodbye and quickly proceed on their way. Charlie undergoes a cursory medical examination by Dr. Leonard McCoy and Charlie tells the doctor that the crew of the science ship didn't like him very much, and all he wanted is just for people to like him.
Charlie quickly begins to get obnoxious, and shows signs that he possesses strange powers. First, he develops an infatuation with the beautiful Yeoman Janice Rand, who evidently was the first human female he had ever seen. Having observed a man in engineering seal an agreement to go to the rec room with a friendly slap on the rear, he does the same to Rand, to her objection of course. Later as an apology for his rudeness he gives her a bottle of perfume, which turns out to be her favorite kind, even though there was none of it in the ship's stores. Charlie meets Rand later in the rec room, where Mr. Spock (whom Charlie calls Mr. Ears) plays a Vulcan Lyre, and Lt. Nyota Uhura sings. Charlie is annoyed with Uhura's performance as people are paying more attention to her than to Charlie, so he causes her to abruptly (but temporarily) lose her voice.
When the Antares gets nearly out of sensor range, it transmits a warning message to the Enterprise, but the message gets cut off. Charlie makes the curious and sinister comment "it wasn't very well constructed", shortly before Spock determines that the Antares has blown up. Afterward, more bizarre events begin to take place aboard the Enterprise. For example, a cook (voiced by Roddenberry) reports that the synthetic meatloaf has been transformed into real turkeys.
Back in the rec room, Kirk defeats Spock at 3D-Chess, implausibly beating Spock's logic with his own quirky move. Charlie is intrigued with the game and tries to duplicate the same feat but loses quickly. Kirk and Spock leave the room but an angered Charlie stays behind and causes the white chess pieces to melt, revealing he has both a bad temper and powerful telekinetic abilities. Amusingly, he melted his own pieces.
In an attempt to get Charlie off her back, Rand introduces him to Yeoman third-class Tina Lawton (who is the same age as Charlie), but Charlie only has eyes for Rand and brushes Tina off, angering Rand. Later, Kirk tries his best to instill Charlie with some manly qualities, and attempts to teach the young man how to fight. Sam, Kirk's training partner, laughs at one of Charlie's falls, and Charlie makes him "go away"—Sam vanishes into thin air. Shocked by what he has witnessed, Kirk calls for security guards to escort young Charlie to his quarters, but Charlie says he won't let them hurt him; he then makes their phasers disappear. Kirk suspects Charlie has been given the powers which legend ascribes to the ancient race of Thasians and confronts Charlie about it. Charlie admits he used his power to destroy the Antares by making the warped baffle plate on the shield of the energy piling go away, but he says the ship would have blown up on its own anyway sooner or later; and "they weren't nice to me".
Charlie discovers Kirk's plans to divert from Alpha V, and he takes control of the Enterprise and members of the crew. He forces Spock to recite poetry, turns Tina into a lizard, and chases down Rand. When she resists his advances he gets angry and makes her disappear, saying "she wasn't nice to me". Charlie tells everyone that he can make them all go away, anytime he wants to. Kirk and Spock attempt to trap him in a detention cell, but to no avail. Charlie goes on a rampage, turning a young crew member into an old woman and removing the faces of other crew members who are laughing.
Meanwhile, a Thasian ship approaches the Enterprise. The Thasian commander appears on the bridge, saying that they had given Charlie his powers to help him to survive on their world, and that it would be too dangerous for Charlie to live among humans. The Thasians return Yeoman Rand and fix the messes Charlie has made. They apologize to Kirk and promise to take Charlie to live with them. Charlie begs Kirk for forgiveness and pleads frantically with him to not let the aliens take him away, but when Charlie does vanish, Kirk finally agrees it's for the best.