https://www.epo.org/en/service-support/faq/learning/european-patent-administration-certification/if-i-withdraw-after
If I withdraw after enrolling, can I get a refund if I present a medical certificate?
No, enrolment fees are non-refundable (and cannot be used for subsequent enrolments).