They are a pain to catch! I would siphon some water out into a large enough container to put your rock into so you don't wind up with die off then catch the little monster and take him back to your lfs
. It could have been an emerald crab too. Crabs are opportunistic and if they can grab it they will eat it. Sorry you lost those fish.