The Computer Management screen in XP has a "Shares" section where you can disable all your shares with a couple of mouse-clicks. You can shift-click on multiple shares and disable them at the same time.
You could also remove "File and Printer Sharing for Microsoft Networks" in the Network Properties panel, but that seems a bit drastic, since you may want to keep some shares.