If a permanent with a shield counter is dealt unpreventable damage, that damage will be dealt and a shield counter will still be removed.

Artwork
Loading artwork…
Brokers Veteran
Streets of New Capenna · #36 · EN
Nonfoil—Foil—
Card rules
When this creature dies, put a shield counter on target creature you control. (If it would be dealt damage or destroyed, remove a shield counter from it instead.)
2/1
One last job before he retires.
Common · Illustrated by Lie Setiawan
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny Legal
Pioneer Legal
Timeless Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Removing a shield counter in this way isn't the same as regenerating a creature.
If a permanent that would be dealt damage has more than one shield counter on it, that damage is prevented and only one shield counter is removed.
A creature with a shield counter on it may still be destroyed by state-based actions if it has damage marked on it equal to its toughness or has been dealt unpreventable damage by a source with deathtouch.
“Shield” is not an ability that creatures have and shield counters are not keyword counters. If a creature with a shield counter loses its abilities, the shield counter will still protect it as normal.
Shield counters don't prevent players from sacrificing creatures.