The soldiers see the hunters with weapons and Ralph without so they shoot the hunters and take the dead bodies home to the parents and Ralph back to his family.
The soldiers came back with the dead bodies and Ralph and all the parents of the kids came to meet there sons to find out they were dead. Ralph's parents were so happy to see Ralph still alive they didn't even notice the other kids. The general is in the background shouting at the soldiers for killing the boys.
Piggy's death haunts Ralph for the rest of his life.