pay back all or part of your Affordable Care Act premium? 1095 A

Hi - I had a affordable care act plan for most of 2023 (8mos) before I found a great job, cancelled the ACA plan I had (through Colorado market place) and enrolled in the employers health care plan.  Because of the new job,  I also made more money than the ACA plan qualified me for the year based on my original estimates. 

 

I'm using Turbo tax and it informs me that I'll have to pay back about about 1800 dollars - however I have a federal refund that exceeds that amount - Question - does Turbo tax factor that in the Federal Amount displayed - or do I have to write a check to the IRS - or does the IRS deduct the amount from my refund? Thanks in advance