I have two My Passport Ultra 3TB portable hard drives, one black, the other white. I had both connected to my laptop computer via the same USB C to 4-USB 3.0 hub and was copying a folder from the black one to the white one when both drives briefly lost power, likely due to the hub not being able to draw enough for both drives. Immediately after, the white one (but not the black one) stopped showing up on my computer at all: not in file explorer, not in disk management, not even in device manager. Disconnecting it from the hub and connecting it to one of the USB 3.0 ports on the laptop itself didn’t fix it, nor did restarting the computer.
However, I then connected the drive to my desktop computer and it was working just fine; I could read and write files, no problem. But when I reconnected it to my laptop, it still wouldn’t show up on anything. Both computers are running the latest version of Windows 10. Neither computer has any WD software installed on it, and both drives (white and black) are unencrypted.
I have had this problem, or one similar to it, a few years ago with a different Western Digital external hard drive, but I don’t remember what fixed it then, since I am still using that one today.