The reply before are all correct. When you shutdown your computer it does not mean that you stop power reaching the motherboard. It has something to do with science.When your computer in plugged in to the wall you still a connect circuit but when you open the circuit meaning that power can no longer travel to the motherboard of the computer