Ferengi seizure of the Enterprise-D

Ship captured and retaken by children

The capture of the Enterprise-D at Ligos VII by renegade Ferengi in two Klingon Birds-of-Prey, undone by Picard and three colleagues who had been physically turned into children.

In The Next Generation episode Rascals, a transporter accident in an energy field returns Picard, Guinan, Ro Laren and Keiko O'Brien to the ship with the bodies of twelve-year-olds and their adult minds intact. Picard reluctantly hands command to Riker.
The ship answers a distress call from Ligos VII and is ambushed by two Birds-of-Prey crewed by Ferengi under DaiMon Lurin, who claims the Enterprise as salvage. Most of the crew are sent down to work in the planet's mines, while the children are herded into a schoolroom and ignored.
Picard leads the four of them, with Alexander's help, in a campaign of distraction. They use toys and a classroom computer terminal to reach the main system, and Picard throws a tantrum to see Riker, calling him father. Riker bewilders a Ferengi with invented jargon, and the Ferengi are beamed into a locked transporter room. The four are later restored.