God remembered Noah, as well as all the wildlife and all the livestock that were with him in the ark. God caused a wind to pass over the earth, and the water began to subside.
References for Genesis 8:1
The sources of the watery depths and the floodgates of the sky were closed, and the rain from the sky stopped.
The water steadily receded from the earth, and by the end of 150 days the waters had decreased significantly.
The ark came to rest in the seventh month, on the seventeenth day of the month, on the mountains of Ararat.
References for Genesis 8:4
The waters continued to recede until the tenth month; in the tenth month, on the first day of the month, the tops of the mountains were visible.
After 40 days Noah opened the window of the ark that he had made,
and he sent out a raven. It went back and forth until the waters had dried up from the earth.
Then he sent out a dove to see whether the water on the earth's surface had gone down,
but the dove found no resting place for her foot. She returned to him in the ark because water covered the surface of the whole earth. He reached out and brought her into the ark to himself.
So Noah waited seven more days and sent out the dove from the ark again.
When the dove came to him at evening, there was a plucked olive leaf in her beak. So Noah knew that the water on the earth's surface had gone down.
After he had waited another seven days, he sent out the dove, but she did not return to him again.
In the six hundred and first year, in the first month, on the first day of the month, the water [that had covered] the earth was dried up. Then Noah removed the ark's cover and saw that the surface of the ground was drying.
References for Genesis 8:13
By the twenty-seventh day of the second month, the earth was dry.
Then God spoke to Noah,
References for Genesis 8:15
"Come out of the ark, you, your wife, your sons, and your sons' wives with you.
Bring out every living thing of all flesh that is with you-birds, livestock, creatures that crawl on the ground-and they will spread over the earth and be fruitful and multiply on the earth."
So Noah, along with his sons, his wife, and his sons' wives, came out.
All wildlife, all livestock, every bird, and every creature that crawls on the earth came out of the ark by their groups.