Another interpretation, “go out of the ark.” It is written: “If the spirit of the ruler will depart from you, do not abandon your place” (Ecclesiastes 10:4) – this is speaking of Noah.6“The spirit of the ruler” refers to God’s command to enter the ark to be saved from the Flood. With the end of the Flood, the essence of this command had expired; nevertheless, he followed the verse: “do not abandon your place” until he was told to do so. Noah said: ‘Just as I entered the ark only with permission, so will I leave only with permission.’ [God had commanded:] “Come…into the ark” (Genesis 7:1), [and Noah followed:] “Noah came” (Genesis 7:7). [Now He commanded] “Go out of the ark” (Genesis 8:16), [and only then,] “Noah went out” (Genesis 8:18).
Noah Finally Leaves the Ark After Being Cooped Up
Bereshit Rabbah 34:4