I logged out of my world. When I logged back in and spawned, I was in a different location at bedrock at y-coordinate 2 and could not get out.