Complex sentence: Because of the operating expense, a number of these were never launched, but were maintained on the stocks, sometimes for decades, in case of an urgent need.
Split into simpler sentences: Because of the operating expense, a number of these were never launched. These ships were maintained on the stocks, sometimes for decades, in case of an urgent need.