decommission

diːkəˈmɪʃ(ə)n

verb

withdraw (something, especially weapons or military equipment) from service.

a decision to decommission the ice patrol ship HMS Endurance