In this section

Historical Rules · 18 November 2022

Rule 723.4

Official source text from the 18 November 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