It probably corrupted the drive when the plug pluued off. First try try another PC or user account. Then try deleting the drive’s driver remove the drive reboot system reconnect drive and see if that helps. If that doesn’t work try TestDisk http://www.cgsecurity.org/wiki/TestDisk. There isn’t much you can do when you get locked out. There is no reset or bypass.