Open the item menu and choose the departure action. Its wording depends on the item, for example No longer here or Finish bottle. Choose the reason, quantity and date, add a note if useful, then confirm. Remaining units stay in your inventory; the item enters Archive when none remain.
Open Archive from Workbench. Search or filter by reason, then choose Restore for the item. This undoes its latest departure. A linked manual sale is removed; an imported marketplace sale remains. Restoring does not republish a marketplace listing. Archiving keeps the record; deleting it is a separate action.