My current tank is small, so I can wait till he is out in the open, and with my net and hand, net him. In the past, I took a 20 oz soda bottle, cut the top off, reverse the top and reinserted it into the bottle, and added food to the bottle. The top makes a funnel that the crab can climb into, but not get out of. This also worked on a Damsel fish. A drinking glass tilted up with food would also probably work. The crab won't be able to to climb the smooth sides to get out.