The last time castles were used was in the second world war as a place to stay that was moderately safe. After world war 2, most castles weren't used anymore. Now many castles can be toured as museums and even in some people can see how people back then lived.