Investors & landlords

And when you sell, you cannot do a 1031 exchange because it is no longer a rental, correct? You pay personal taxes on the profit.