12 And having received an answer in sleep that they should not return to Herod, they went back another way into their country.
Gloss: This warning is given by the Lord Himself; it is none other that now teaches these Magi the way they should return, but He who said, “I am the way.” [John 14:6] Not that the Infant actually speaks to them, that His divinity may not be revealed before the time, and His human nature may be thought real. But he says, “having received an answer,” for as Moses prayed silently, so they with pious spirit had asked what the Divine will bade.
Gregory: We may learn much from this return of the Magi another way. Our country is Paradise, to which, after we have come to the knowledge of Christ we are forbidden to return the way we came. We have left this country by pride, disobedience, following things of sight, tasting, forbidden food; and we must return to it by repentance, obedience, by contemning things of sight, and overcoming carnal appetite.
Pseudo-Chrysostom: Had the Magi sought Christ as an earthly King, they would have remained with Him when they had found Him; but they only worship, and go their way. After their return, they continued in the worship of God more steadfast than before, and taught many by their preaching. And when afterwards Thomas reached their country, they joined themselves to him, and were baptized, and did according to his preaching.
Scripture from the Douay-Rheims Bible. Commentary from St. Thomas Aquinas, Catena Aurea, Vol. I (London: Rivington, 1842).