That does sound sort of odd -- maybe you typed it into a Windows command prompt by mistake (not sure if Windows even supports a shutdown command)? In any case, you do need to be the superuser ...