Guru GOBIND SINGH JI never even attempted to "visit" Harmandir Sahib..although there is no record of Guru Har rai ji and Guru Har Krishen Ji also ever visiting here.
Guru Teg bahadur Ji had the Doors of Harmandir SHUT in his face by the SODHIS occupying the place...they were afraid that IF they allowed GURU JI, in....HE MIGHT NEVER LEAVE...and where would that leave them ?? They were under the impression they were defacto "GURUS" with the AAD Garnth Bir and Harmandir under them.... WHAT a FALLACY ???
Guur Gobind Singh ji could have forcibly "visited" but He probably had more IMPORTANT things to do. Remember GURU TEG BAHADUR JI had BOUGHT the FREE HOLD lands at Anandpur Sahib, and that was to be developed by GURU JI into a viable FORT/Town full of people. Guru Ji also had to PREPARE for vasakhi 1699 and the BATTLES soon to be fought.... indeed it is a miracle what GURU JI ACCOMPLISHED in His SHORT LIFE
It has always been a TRADITION with our SIKH GURUS to NEVER...NEVER covert the "dera" of their Predecessor and live off the previous Guru's kamaii...
Guru nanak ji established KARTARPUR.... Guru Angad Ji went on to DEVELOP a new town called KHADOOR...Guru Amardass Ji went on to develop GOINDWAAL, Guru Ramdass Ji went on to develop Ramdass Pur..whcih was developed fully into AMRITSAR by GURU ARJUN JI... GURU HARGOBIND JI went on to develop Chherta sahib, and many other places, Guru har rai ji developed his own place and so on... GURU TEG BAHADUR JI bought ANANDPUR SAHIB...which Guru Gobind Singh ji developed fully. Just imagine if our GURUS had all remained at Kartarpur only....not much sikhi parchaar or development of Punjab would have taken place..as it is now every place in Punjab and well beyond has the footsteps of GURU JI in one Body or the other making their mark there and gurdwaras are everywhere the GURUS went....as far east as Bengal, as South as Hazoor sahib..as West as Panja Sahib...Baghdad... MOST of the Big Towns of Punjab were developed by our GURUS.