Survivorship in what sense? The castles that exist today have not survived because they were better at repelling swordsmen, they survive because someone in the nobility happened to like them and protected them from development and hundreds of years of disrepair.
Indeed, Cromwell tried very hard to destroy castles. The trouble was that they were very hard to destroy. Most of the ruined castles are not in that condition out of neglect; that was simply the "best" they were able to do at destroying them. Eventually, the cost of gunpowder was just too much to continue that campaign.