The ball is dead, the clock is stopped, the substitute is eligible to enter the game (sit a tick, not disqualified, not for shooter, etc.), the substitute is at the table, and the administering official is not about to make the ball live. No rule to keep the substitute at the table. Beckon the substitute into the game.