Rental property vs investment property

I inherit a house with tenant living in it.  so I know the property is consider as rental property since I need to inherit tenant's lease. so for now, it is a rental property.  

is there anyone know, what I need to do to let this property become a pure investment property when lease ends? 

selling a rental property is too much involved,  I just want to do a pure capital gain and not dealing with depreciation tax recapture...