Minecraft wiki entry for Turtle_farming, associated text: If you venture away from your farm further than the despawn range (128 blocks in Java Edition, 44-128 blocks in Bedrock Edition depending on simulation distance), the turtles in the farm despawn if you have not interacted with them by offering them seagrass.