Carrots that are left in the ground for a few weeks may become soft and moldy due to the growth of fungus. It's best to leave carrots in the ground until they are about one inch in diameter.
After that, you can cut them off and leave them on the ground. The root end will continue to grow down into the soil, but the top part will remain above ground.