The World Health Organization’s (WHO) constitution lacks a legal method by which countries may withdraw their membership. However, this absence of mechanism does not infer that countries are unable to exit the organization.
Source: https://www.euronews.com/health/2025/02/26/can-countries-just-withdraw-from-the-world-health-organization-not-exactly