In this section

Historical Rules · 7 October 2022

Rule 722.4

Official source text from the 7 October 2022 Rules release

If the player who has the initiative leaves the game, the active player takes the initiative at the same time that player leaves the game. If the active player is leaving the game or if there is no active player, the next player in turn order takes the initiative.

Find this number in the current Rules