Will not shut down

My computer will not shut down when the network drive is connected 

You may need to disable “wake on LAN” in your BIOS Power Management settings.