It depends on what kind of crab it is. Small emeralds and many porcelain crabs are OK. If you want to get rid of them, most can't climb on glass so tip a glass cup against the rockwork, put a meaty morsal as bait in it and wait. The crab climbs into the glass via the rock for a free snack and can't get back out. Viola! Just pluck him out.