Complex sentence: Most of the rebels did surrender though and by the end of June the majority had returned to their homes.
Split into simpler sentences: Most of the rebels did surrender, though. By the end of June the majority had returned to their homes.