After succeeding at an attack against your city, other players have 24 hours to plunder one of your buildings. This means that, while the city shield will protect you from new attacks, it won't prevent your buildings from being plundered if the attack has been successful before the shield has been activated.