10 different people will give you 10 different answers.
Me, if you are just taking care of a particular spot, don't bother to unplug anything, except for power of course needless to say ha-ha. If u are doing a full cleaning, comeon, u can't do a good job without at least unplugging the expansion boards.
More importantly, give the can a slight stir, shake it in a few gentle circular motion, and keep the can upright to avoid propellant from forming an aerosol (will come out as a mist, bad).