To store or shelve something no longer used.
They mothballed the old version after the new one came out.
To stop using (something), but keep it in good condition.
(of something out of use) Kept in good condition for possible future use.