beta This part of GOV.UK is being rebuilt – find out what beta means

HMRC internal manual

Debt Management and Banking Manual

CCP: action after judgment obtained: discontinuance of proceedings after judgment

Once judgment has been obtained, proceedings can only be discontinued where the judgment is defective.

You will have to apply to have judgment set aside, before making application to discontinue.