Retirement tax questions

You need to explain you situation more completely.  My instinct is that you either transferred the stock into an after-tax brokerage account and sold the stock or sold the stock back to the company as part of the distribution.  Is that your case?  Or was there some "rollover" going on here?