If the creature loses its shield counter during combat, it will be removed from combat when it changes controllers. If it hasn't already assigned combat damage by that time, it won't get to deal combat damage.