Once a creature has attacked you or a planeswalker you control, it will remain in combat even if it gains flying. Similarly, if a creature with flying enters the battlefield attacking, Sandwurm Convergence's first ability can't undo that attack.

Artwork
Loading artwork…
Sandwurm Convergence
Duskmourn: House of Horror Commander · #195 · EN
Nonfoil—Foil—
Card rules
Creatures with flying can't attack you or planeswalkers you control.
At the beginning of your end step, create a 5/5 green Wurm creature token.
Cantankerous and territorial, sandwurms claim even the skies above their dunes.
Rare · Illustrated by Slawomir Maniak
Format legality
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Timeless Legal
Vintage Legal
Alchemy Not Legal
Future Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions