 Nonetheless, under threat of attacks from the Huguenots, the king maintained the castle's defensive capabilities by making it a military outpost and by installing artillery on the château's upper terraces.At the end of the 18th century, as a military garrison, it showed its worth when its thick walls withstood a massive bombardment by cannons from the Vendean army.Unable to do anything else, the invaders simply gave up.