The Yeager loop was a starship maneuver that was typically performed by five ships.
The ships performing the maneuver began in a diamond slot formation. They then climbed and looped backwards at a steep angle and at the peak of the loop, turned over and accelerated in a new direction. This maneuver was known as the Immelmann turn.
The maneuver was performed by Nova Squadron in 2368, aboard their Academy trainer craft, as a prelude to their infamous attempt at the Kolvoord Starburst. (TNG: "The First Duty")
The loop could also be performed with three ships. The 2384 cohort of Nova Squadron attempted a Yeager loop with three Mark II Nova Flyers as part of attack maneuvers against Vau N'Akat drones, but the drones were able to predict every standard Starfleet maneuver. (PRO: "Ascension, Part II")