https://www.gov.uk/government/publications/vcert-online-confidential-medical-information
Surrender entitlement to drive large vehicles (form VCERT) - GOV.UK
You will need to complete this form along with your doctor to surrender your bus or lorry entitlement.
entitlement to drivelarge vehiclessurrenderformuk