Though cannons were powerful, castles were still used in war. In the 17th century, lots of castles were used in the English Civil War, though many of them had not been lived in for decades and needed repairs.