Investors & landlords

Let me try to clarify.  Can I claim it on the forced sale or do I have to wait until I sell my remaining shares in the future.  I wasn't forced to sell all of them at the time of the sale.  As it's still the same stock.