If Icy Prison leaves the battlefield before its first ability has resolved, its third ability will trigger and do nothing. Then its first ability will resolve and exile the targeted creature forever.

Artwork
Loading artwork…
Icy Prison
Ice Age · #74 · EN
Nonfoil—Foil—
Card rules
When this enchantment enters, exile target creature.
At the beginning of your upkeep, sacrifice this enchantment unless any player pays 3.
When this enchantment leaves the battlefield, return the exiled card to the battlefield under its owner's control.
Rare · Illustrated by Anson Maddocks
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Pauper Legal
Pauper Commander Legal
Penny 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
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