I didn't unplug the connector on top I just loosened the 3 nuts and let it dangleI loosened the upper bolts when I did mine too. Made the job much easier.
For those with autoride struts reading this, remember to hit the electrical connector on top of them with electrical contact cleaner before reassembly (assuming you have them), or you'll get a suspension code. I've seen it happen to a few people here.
then went and looked up the torque specs and tightened it back up I think it was 34 or 37lbs