If your estimated income at the end of the tax year is different from what you originally estimated, you can vary the amount paid on your quarter 4 payment that is due January 15 of the following year.
We have had this happen several times, as we have a mutual fund that doesn't declare its capital gains until about Thanksgiving. We make our best estimate when we use the forecast spreadsheet early in the tax year, but it's never exact. This year, we got close, and are expecting a refund of about $100.
The target is to reach zero owed or zero refund due. That means you've paid all that's legally owed, and they didn't have use of your money for several months.
https://www.irs.gov/taxtopics/tc306#:~:text=Generally, taxpayers should make estimated,using the annualized installment method.
Generally, taxpayers should make estimated tax payments in four equal amounts to avoid a penalty. However, if you receive income unevenly during the year, you may be able to vary the amounts of the payments to avoid or lower the penalty by using the annualized installment method.