Hi,
If you are deregistering from VAT and you are retaining property with an Option To Tax and which you have been able to recover the VAT as input tax then you will need to account for the VAT upon deregistering.
However if you have sold all the property before deregistering then there shouldn't be any VAT to pay over to HMRC.
Please see the guidance below:
VAT Notice 700/11: cancelling your registration
Thank you.