"中途作短暂访问" can be translated into English as "make a brief stopover/visit en route" or "pay a short visit midway".
Here are some example sentences to illustrate the usage:
We'll make a brief stopover in Shanghai en route to Beijing. (我们在去北京的路上会中途在上海短暂停留访问。)
They paid a short visit midway through their journey to check on a friend. (他们在旅途中途短暂访问了一位朋友。)