Surrounding a bed with blocks from all sides except the top and then setting your spawnpoint there will reset your spawnpoint. Message "You have no home bed or charged respawn achor..." appears in chat after death and the player respawns at world spawn.