Retirement tax questions

it's not tax and penalty free if the employer withholds tax

the employer should not withhold any tax if they are closing out your 401k.