Refund

In 2019 I received a direct rollover to a qualified Non Roth IRA from a previous employer pension plan. The Gross distribution was $47,837.09.  A deposit was made to my IRA for $38269.67.  $9567.42 was withheld for Federal Income tax.  I received the 1099R after I filed my taxes this year via Turbo Tax.  My question is how do I get the $9567.42 amount withheld refunded  in such a way that I am not taxed on the withholding so that I can deposit it too my Qualified IRA. I tried doing it through an amended return but I still get taxed on the 9567.42.  This also is the case with my State return.