if a company divests the money from selling a buy to let is ther a capital gains ax exemption ?

if the moey was moved into a charty rn by the same person does the tax exemption stand if they choose not to invest in any more buy to let?

placeholder text for bug in Chrome