Once your advised period of voluntary surrender has elapsed you will be able to re-apply again and have your licence returned to you.
You can find information on this process on the government website and a link to download the relevant form.
Once you have mailed this you will receive a letter from DVLA stating that they have written to your consultant with an expected 6-week turnaround. You do not need to do anything further other than call them back on several occasions as this part of the process takes a long time!
The DVLA will send your cardiologist forms to get more information about your cardiac status. Your cardiologist will need to sign these forms to say they should issue you with a licence. This all takes time, and it’s a good idea to chase your cardiologist to make sure you’re not forgotten.
It’s also worth starting the process a good 8 weeks before the date your period of driving restriction ends.
If your licence was revoked, as opposed to voluntarily surrendered, you may find that the process to get your licence back longer and more arduous.