If the creature put onto the battlefield leaves the battlefield, the tracking effect ends and the creature will no longer be exiled if something happens to the Coffin Queen.

Artwork
Loading artwork…
Coffin Queen
The List · #TPR-87 · EN
Nonfoil—Foil—
Card rules
You may choose not to untap this creature during your untap step.
2
,
: Put target creature card from a graveyard onto the battlefield under your control. When this creature becomes untapped or you lose control of this creature, exile that creature.
1/1
Rare · Illustrated by Kaja Foglio
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
PreDH Legal
Premodern Legal
Tlr Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the creature put onto the battlefield phases out, the tracking effect continues when it phases back in if the Coffin Queen is still on the battlefield. If the Queen left the battlefield while the creature was phased out, the creature phases in as normal.
If Coffin Queen leaves the battlefield before its ability resolves, the delayed trigger condition can never be fulfilled, so the creature will not be exiled. If Coffin Queen is untapped when its ability resolves, the creature will not be exiled until the next time Coffin Queen becomes untapped.