Braslota war games

Starfleet battle simulation interrupted by Ferengi

A Starfleet battle exercise in the Braslota system pitting the Enterprise-D against the derelict USS Hathaway under Riker, which turned real when a Ferengi warship attacked.

In The Next Generation episode Peak Performance, Starfleet prepares for the Borg threat by staging a simulated battle observed by the Zakdorn strategist Sirna Kolrami. Riker is given the eighty-year-old Hathaway, which has no working warp drive, and forty crew of his choice, including Worf, La Forge and Wesley Crusher.
Riker's team cheat creatively. Wesley smuggles over antimatter from a school experiment to give the ship a couple of seconds of warp, and Worf tricks the Enterprise's sensors. In the middle of the exercise the Ferengi ship Kreechta under DaiMon Bractor attacks, catching the Enterprise with its weapons in simulation mode.
Bractor assumes the Hathaway must be valuable. Picard fires on it just as it jumps to warp, making it seem destroyed, and the Ferengi withdraw. Data, shaken by losing to Kolrami at Strategema, then plays him to an exhausting draw.