The after-berachah of me’ein shalosh on the five grains must be said in the place where he ate. If he already left, he may bless where he remembers. As Maran the Shulchan Aruch wrote, and as the Rema wrote, the poskim disputed the law of changing place. In practice, if he needed to leave in the middle, he does not bless again. From the booklet Seudah baHalachah of Rabbi David Shalom Naki, shlit"a.