When attacked, it tightly shuts the lid of its shell. This reaction fails to protect it from Karrablast, however, because they can still get into the shell.
Pokemon Wiki for Shelmet, this includes an analysis of its strengths, weaknesses, and the diverse array of moves it can potentially learn and utilize in battles