Disable led light when I close my mac

Hi

LED of my WD Passport Essential for Mac 2tb continue give bright light when I close my mac.

I would like to see no light from passport when I go to sleep.

How I can achive this without manually disable usb cable from mac?

Thank you.

Sergey

If I remember correctly, Macs continue to supply power to their ports when they go to sleep, or are turned off.  You could try safely removing the drive and see if the light stays on.  If the light stays on, then you are stuck with physically disconnecting the cable after safely removing the drive.