Each game has a built-in feature that requires confirmation when an item is about to be deleted. It is the user's responsibility to ensure that this is intentional.
Please see our Item Restoration Policy for further information.
Please see the following article for information on how bans affect inventories and items:
Steam Support does not restore deleted items.