When an axis homes, it travels towards the switch, until the switch trips, then backs up until the switch opens. That's the home position.
So there's no need to back off of the switch, as homing does that.
Ref All should be homing all of the axis automatically with the default macro.
Did you change it? If not, what is happening when you press Ref All?