I was in a campaign where a level 20 wizard player got the Deck of Many Things and drew one card of six intended. 45 minutes later the DM threw the Tarrasque at us. Wiz got Chomped and Swallowed. Player got really angry, said "FINE!", threw the rest of the Deck away from himself using his Bonus Action then cast Forcecage around himself with 5-foot square solid walls. Result: Forcecage pushed the Cards away from him, also kept all the stomach acid away from him and he couldn't draw the rest of the cards within the one hour limitation. The rest of the 6 cards self-drew summoning an Avatar of Death who couldn't reach the PC through the solid wall Forcecage that blocked all physical and magical effects from crossing into it..but it could be attacked by the Tarrasque's stomach acid. bang! A second Avatar of Death appeared next to the Tarrasque and started attacking it.
Result: the PC's Avatar of Death was killed by the stomach acid and the Tarrasque was killed by its own Avatar of Death. And after an hour, the Forcecage expired and the PC walked out of the dead Tarrasque's mouth badly wounded from the initial Bite and Chomp but very much alive though without any of the items the Deck of Many Things would have given him (destroyed by the stomach acid).