Prividing that the drive is functional:
- Stop using the drive
- Depending on how the drive was formatted (NTFS, HFS), find a "file recover / undelete" utility compatible with your MacOS, then use said utility on your computer.
YOu might have better chances if you boot Linux on another computer (or on your laptop), or seek professional help.