How did hermann van pels die?

He was the only member of the eight occupants hiding in the Secret Annex to be gassed to death. Hermann was put in a gas chamber when he injured his thumb and is unable to do any of the hard labor he was assigned to.