Deductions & credits

Thank you for your reply. But what happens if after I close the business with value still remaining on the equipment that I have taken depreciation on for a couple years but now I want to close the business and keep the equipment for personal use? How is this scenario handled and taxed?