When he got married to Dax he was already living back on the station because they threw that bachlorette party in their quarters which was on the station.
Worf benefited from the assignment on DS9. It forced him to adapt to non-Starfleet personnel. I remember at first he kept trying to do security and got in Odo’s way. But they finally worked it out.
“By your command…”, not “demand”.