Where to account for money returned to an IRA under the CARES Act

From one of my IRAs in 2020, I initially took a lump sum of $48000.  Later in the year, prior to the deadline, I returned $5000 to the IRA.  On my 1099-R from the institution, it shows $48,000.  From the same institution I received a 5498 showing a $5000 rollover contribution.  How do I account for that in TurboTax.  I have tried putting it in an IRA contribution, but it doesn't do the right thing for the situation and says I will have an excess contribution.  The intended result is to have taxable IRA distribution of $43000.  How to make that happen in TurboTax?