If this was for an investment, you will enter as worthless stock on Form 4797. See How do I deduct worthless stock? - TurboTax.
Stocks that become wholly worthless during the tax year are treated as though they were sold on the last day of the year. Worthless stock includes abandoned stock, permanently surrendered for no consideration. You can enter the amount you received as he proceeds.