Example: Zayd completed Umrah, had not brought a hady, and returned to his home town before Hajj. In the case stated, his tamattu classification ceases although the Umrah itself was completed.
Do not automatically extend this rule to every short excursion outside Makkah; the wording specifies returning to his own town.