Hi,
As per the screenshot you shared, it shows that your drive has lost its file system, which is why it turned into RAW and showed the Unallocated status. To fix this issue, go to disk management, do right-click on the unallocated drive and click on the "change drive letter" option. Once you change the drive letter, just remove the drive and insert it back to see if it starts getting detected.