Retirement tax questions

The tax you paid was only an estimate.  You need to report the withdrawal on your tax return from a 1099-R and you will get credit for the withholding.  Your overall tax will be calculated and you might owe more or get a refund.