Qualifying corporate bonds: relevant discounted securities: introduction
You should check the other guidance available on GOV.UK from HMRC as Brexit updates to those pages are being prioritised before manuals.
Where a debt is not a relevant discounted security, you should continue to apply the normal capital gains rules to any redemption or other disposal, see CG53400+.