stop off somewhere
— phrasal verb with stop uk/stɒp/us/stɑːp/verb -pp-
to visit or stay at a place for a short time when you are going somewhere else:
I'll stop off at the shops on my way home and get some wine.
We're going to stop off in Denver for a couple of days before heading south.