Are you clicking "Turn off" or "Restart" from the start menu?
Or are you attempting to turn off the computer by pressing the power button on the computer? If so, you may need to hold down the power button for a few seconds or so while the OS shuts down.
iam using windows xp my computer wont shutdown i have umplug it. whats the problem? please help.