WD 3TB Book ejected improperly now won't back up

You can try to repair on the Mac that the drive is working…

If that does not work, recover all the files on the other Mac and reformat the unit

after that you can continue to use it