Mario, when crabs shed/molt, they typically hide for a couple of days while their new shell hardens... so it may not be dead. You might want to wait a day or two to see if it reapears. The molt looks an awful lot like a dead crab!
And what do you mean you spotted a bubble in your tank? LOL