Test it on another computer. Aside from that, remove the HDD from the external case and attach it directly to the PC or use another external case. Possibly the case/controller has failed and the HDD is still usable.
And you should have a backup copy of anything important. Live and learn.
And you should have a backup copy of anything important. Live and learn.