Ralph insists that the boys keep the fire on the mountain burning. It is the main way to hope for rescue. If a a passing ship sees the fire burning, the boys could possibly be rescued. When Jack and his hunters ignore the fire, Ralph is highly upset. Jack and his hunters choose to hunt for pigs instead of keeping the fire burning.
Also, Ralph has trouble getting the boys to help him build shelters. Ralph seems to be the main one trying to build shelters for protection. He struggles to keep the boys focused on the important aspects of civilization. Little by little, Jack and his hunters are becoming more and more disrespectful. They are becoming consumed with the hunt.
Ralph works hard as a leader and is a natural leader:
He seems to be genuinely interested in the welfare of the entire group and can get along with all kinds of people. Perhaps he gets his sense of natural authority from his father, a commander in the Navy. He also has above-average powers of observation.
Still, Ralph has trouble getting the boys to follow the rules. Each day, Jack and his hunters become more and more dangerous. In fact, it is Ralph who finds himself fleeing for his very life by the end of the novel. Fortunately, Ralph and the boys are rescued at the right time; otherwise, Ralph would have been the next victim to lose his life.