Deductions & credits

the actual amount for tax purposes that you recharacterized for 2022 was $6000. earnings don't count and you did not have to remove them from the Traditional IRA. 

 

This is why you are supposed to ask the custodian to remove excess and not try to do it yourself.

 

@Lilin