It shelters itself in its shell, then strikes back with spouts of water at every opportunity.
When it feels threatened, it draws its legs inside its shell and sprays water from its mouth.