At this very time, Hera sent the crab to nip Hercules and help Hydra win the battle. But, the crab got crushed and was killed by Hercules. But, Hera was grateful for the crab's loyalty, and hence, put it in the sky, which later came to be known as the constellation Cancer.