How do you fix the Minecraft respawn button that is broken?

To
3

How do you fix the Minecraft respawn button that is broken?

Ap

More information, please, nobody can do anything with it

To

So I died in a Minecraft world and since I died I can no longer respawn because the button is always gray

Vi

Restart the game