Decommissioning
Decommissioning was the act of taking a ship, device, or computer program out of service. A starship that was decommissioned could be said to be put in mothballs. Decommissioned vessels were often stored at surplus depots.

Starships
 was decommissioned in 2161, shortly before the signing the Charter of the United Federation of Planets on Earth. ()

Starfleet decommissioned its  starships in 2196. ()

In 2285, the  was due to be decommissioned due to age and battle damage, although the vessel was ultimately hijacked by Admiral James T. Kirk. Kirk later self-destructed the vessel over  to kill a Klingon boarding party. ()

Following the Khitomer Conference in 2293, which formalized peaceful relations between the Federation and the Klingon Empire, Starfleet ordered the  to return to Spacedock for decomissioning. ()

The starship  was decommissioned in 2364, and was later sent to Surplus Depot Z15 at Qualor II, where it was registered on stardate 41334.2, and stationed at Section-18-Gamma-12. At that time, it was stripped of materials, armaments and sensors, its navigational deflector array being routed to the holding vessel . During this, a file was created for this ship and stored in the Qualor II Depot Z15 Inventory Database. By 2368, other decommissioned starships at Z15 included the , B-24-CLN, two  starships, and a  cruiser. ()

In an alternate future around 2390, the  would have been decomissioned had it not been chosen as a command by Admiral William T. Riker. ()

Non-starships
The lateral vector transporter was considered obsolete by both Starfleet and the Vulcans by 2249, and had been largely phased out by that year. Some ships, such as the  and , continued to use them regardless. ()

Prior to 2377, Lewis Zimmerman tried to have EMH Mark Is decommissioned, but much to his dismay, Starfleet reassigned them to waste transfer barges instead. ()

See also
 Commissioning
 Decommission protocol
Technology