Striking a Rock Crab with a [[Pickaxes|pickaxe]] enough times will knock the shell off of its back, and will cause it to flee. Alternatively, setting off a [[Crafting#Bombs|bomb]] near a Rock Crab can remove its shell, and will cause it to flee as well.