If the player is respawned by the world while they have the quick menu open, the quick menu will be forced closed. While not an issue in most cases, there's a couple I know of that can result in a softlock requiring the player to restart the client to escape.
  1. The respawn point being below or too close to the respawn height Y.
  2. The world code constantly respawning the player, intentionally or unintentionally.
In both cases the player is unable to move or open the menu since it instantly closes upon being respawned. Because the menu can't be used, it's impossible to switch worlds at this point resulting in a softlock.
The respawn height y in this world is set to 0 which is the same as the spawn point. This will result in an immediate softlock upon entering the world.
A solution to this is to not close the quick menu unless the player explicitly closes it themself or manually respawns. This would allow the player to either rejoin or switch to a different world preventing a softlock.