I know very little about hermit crabs...and we've had them for years! Make sure that there are plenty of alternative shells for him. I don't know if he'll survive, but he needs "options" now that his world has been rocked. When they are dying, they usually come out of their shells, and you will see the color lighten significantly. I think I would leave him alone for a few days, and not try to touch him.

I also have read (and I am not sure whether to believe this) that they are not "loners". They like companionship, so you might consider having more than one.

And I have learned, the smaller the crab, the less likely they are to pinch. I've only been pinched once, by a BIG one that we had one time. It took running pretty hot water over him to get him to turn loose and I was bleeding! Thankfully, my daughter has never been pinched. She also doesn't mess with them very much. Guess who gets to do that???

Hope your daughter has learned to be careful with him now.