Complex sentence: She told the housekeeper to hide all valuables to prevent looting, and to take the U.S. flag that hung outside, but it was never moved, and as a result was shot up by the Confederate troops.
Split into simpler sentences: She told the housekeeper to hide the valuables in order to prevent looting, and to take the U.S. flag that was hanging outside. But it was never moved, and as a result was shot up by the Confederate troops.