If a creature is already attacking or blocking when it's detained, it won't be removed from combat. It will continue to attack or block.

Artwork
Loading artwork…
Lavinia of the Tenth
Ravnica: Clue Edition · #199 · EN
Nonfoil—Foil—
Card rules
Protection from red
When Lavinia enters, detain each nonland permanent your opponents control with mana value 4 or less. (Until your next turn, those permanents can't attack or block and their activated abilities can't be activated.)
4/4
Rare · Illustrated by Willian Murai
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
Pioneer Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic 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
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
When a player leaves a multiplayer game, any continuous effects with durations that last until that player's next turn or until a specific point in that turn will last until that turn would have begun. They neither expire immediately nor last indefinitely.
If a noncreature permanent is detained and later turns into a creature, it won't be able to attack or block.
Activated abilities include a colon and are written in the form "[cost]: [effect]." No one can activate any activated abilities, including mana abilities, of a detained permanent.
The static abilities of a detained permanent still apply. The triggered abilities of a detained permanent can still trigger.
The mana value of a creature token is 0 unless that token is a copy of another creature, in which case it copies that creature's mana cost.
Lavinia's ability doesn't affect permanents an opponent gains control of after its enters-the-battlefield ability has resolved. Similarly, if you gain control of a detained permanent after that ability resolves, it will continue to be detained until your next turn.
If a permanent's activated ability is on the stack when that permanent is detained, the ability will be unaffected.