Training vessel
From Memory Alpha, the free Star Trek reference
A training vessel is a starship that is used to train cadets to fly real starships. Typically, the training vessel's crew would go on training cruises.
The Federation Starfleet designated various vessels to be training vessels, including the refitted USS Enterprise and the USS Republic. (Star Trek II: The Wrath of Khan; DS9: "Valiant")
Starfleet also maintained a class J starship for training cruises until at least 2266, when Fleet Captain Christopher Pike suffered severe delta radiation exposure and eventual paralysis while attempting to rescue cadets trapped in the engine room. (TOS: "The Menagerie, Part I")
In 2374, the USS Valiant served as a training vessel for Red Squad cadets until it was destroyed by the Dominion. (DS9: "Valiant")
