Returning rental to owner after having made some Leasehold improvements

I rented a home from someone and rented it out on Airbnb. I spent money putting in a new kitchen and driveway and have not fully captured the depreciation on the renovations. I returned the home to the owner in 2021 and walked away from the business. I would like to capture my entire depreciation. Would I dispose of this asset as a sale with a value of $0?