If the permanent's controller doesn't search their library, they don't shuffle their library.

Artwork
Loading artwork…
Assassin's Trophy
Secrets of Strixhaven Commander · #294 · EN
Nonfoil—Foil—
Card rules
Destroy target permanent an opponent controls. Its controller may search their library for a basic land card, put it onto the battlefield, then shuffle.
"Not just any floriculturist can grow this caliber of nightbloom. We're looking for a rooftop hothouse with quite particular conditions." —Dr. A of the Foundway Associates
Rare · Illustrated by Dmitry Burmak
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
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr 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
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If the target permanent is a legal target but isn't destroyed, most likely because it has indestructible, its controller may search their library.
If the target permanent is an illegal target by the time Assassin's Trophy tries to resolve, the spell doesn't resolve. No player searches their library.
If the target permanent is an illegal target by the time Assassin's Trophy tries to resolve, the spell doesn't resolve. No player searches their library.
If the target permanent is a legal target but isn't destroyed, most likely because it has indestructible, its controller may search their library.
If the permanent's controller doesn't search their library, they don't shuffle their library.