First thing to try. Stick it in a static bag, then a waterproof bag, and put it in the freezer for 4-6 hours. Not a joke, it revives drives up to 50-70% of the time. (loosens stuck heads, shrinks bearings to free them etc).
Reattach and, if it works, recover your data. Sometimes they´ll continue to work for months or years, other times they´ll fail again when they warm up.
Some recommend putting them inside an aluminium USB caddy and leaving it inside the freezer till the data is saved. Depends if you have one and a USB lead long enough......