You can attack if you have the shield, but you loose the shield.