on and off over the next few hours , some hapless soldier tripped a trap , probably trying to get rid of it , and the camp would erupt into pandemonium , confusion , and panic nearly leading to rebellion .