I have several external hard drives that came to me as junk, because they were in an enclosure that no longer worked.
The best one, was a Seagate 8TB HD (not an SSD). It almost took the jaws of life to get the drive out of that plastic enclosure, but it was worth the effort, because I now have it mounted permanently in my MAIN desktop PC, and I use it as a Storage/Backup drive.
Very few external HD's actually die, but the cheap enclosures that they are in certainly do.
So, if an external HD seems to fail, I'll just pull the drive out of the enclosure, and 90% of the time, the drive will be OK.
Want to recover hard drive data without losing any file then use the BLR Data Recovery Tool. The advanced tool is safe to recover hard drive data. There are users can recover pen drive, recycle bin data and many more.
What @The Shadow 2023 does, I've recovered a number of drives. An issue with the External USB drives is the case contains a printed circuit board/interface and probably is running a lite version of Linux, particularly those that can work with 2 or more different operating systems. The format of the drive itself may not be known and Windows can't work with as many formats as Linux can.