Complex sentence: Hogarth inadvertently activates a self-defense mechanism in the giant with a toy gun, but Dean saves Hogarth commanding the robot to leave, but they soon realize that the robot cannot control the SDM, and they chase after it before reaching town.
Split into simpler sentences: Hogarth inadvertently activates a self-defense mechanism (SDM) in the giant with a toy gun, but Dean saves Hogarth. Commanding the robot to leave, they soon realize that the robot cannot control the SDM, and they chase after it before reaching town.