Complex sentence: The execution was a warning to discourage the spread of the uprising, however within a week, all the towns in Cavite had risen up in arms.
Split into simpler sentences: The execution was a warning to discourage the spread of the uprising. But in a week, all the towns in Cavite rose up in arms.