You can deduct business expenses for illegal activities, except for specific categories (for example, bribing public officials is not a valid deduction).
So you might actually be able to deduct that, if you could justify returning the property as a business expense.