My WD Passport 3.0 has just wiped itself. LOST ALL MY WORK

Hello,

No sure how a drive will erase the information by it self, but you might be able to do that with a data recovery software.

Also try using the drive on a different computer.