See if the D drive will appear after that.
Go to Disk Management, click 'Action' on the toolbar and then select 'Rescan disks' to let system perform a re-identification for all connected disks. In the first place, there are two common ways we can try to get D drive back in Windows 10.
Frequently Asked Questions Can't Find my D Drive?