External Hard Drive Not Showing Up after dragging it to Terminal?
I had the exact same issue. Here's the solution: open a Terminal and do the following:

open /Volumes/[Your external hard drive]


This will open up a Finder window which shows your Volumes, including the external drive. Just select and drag the drive back to the left panel, under Devices.