The host has to stay
Close the tab and the world closes with it: everyone is disconnected and the join code stops working. Nothing is lost — the world is saved in the host's browser and backed up to their account — but it has to be the same player who opens it again.