Recapture depreciation on a rental property I sold

I bought a rental property in 2017 and rented it through 2021. Each year I used TurboTax to handle the rental property income and depreciation.

For 2022, I did not rent it out so when I did my taxes for 2022 TurboTax indicated that I should not enter any information for it. I also did not rent it out in 2023.

I sold it in 2023 and now I can't figure out how to tell TurboTax that I sold it and need to recapture the depreciation for 2017-2021. I have the depreciation data from previous years tax forms.

TurboTax indicates that since I did not rent it in 2023 (or 2022), it's not a rental property.

Is there a way to tell TurboTax that it was a rental property and needs depreciation recapture?