Deductions & credits

Was the stock in a personal account? It doesn't matter what you do with the proceeds from sales, it will be taxable income to you.  

If it was in a IRA you might be able to do a rollover.