What he retired from
The England and Wales Cricket Board announced on July 18, 2022 that Ben Stokes would retire from one-day international cricket. The following match against South Africa at Durham was designated his final ODI. The announcement described a 104-match ODI career at that point; it did not announce retirement from Test cricket or every professional competition.
That distinction matters in cricket because Tests, ODIs and Twenty20 internationals have separate schedules, records and squads. A player can stop participating in one format while continuing in another. The ECB recalled Stokes's unbeaten 84 in the 2019 World Cup final and his role in the Super Over, illustrating why an ODI decision carried particular significance.
Source [1]Why the retirement headline needs a follow-up
In its August 2023 squad announcement for the New Zealand series, the ECB confirmed that Stokes had reversed his ODI retirement and returned to the squad. The 2022 decision remains part of his career history, but describing it as permanent would omit that later development. When comparing career totals, check the cutoff date and the format: the number at a retirement announcement is not necessarily the player's eventual total.
Source [2]