If you're trapped a Yuty recommended for you to just leave it for a few mins then knock it out. This way will be an instant taming that's because when you leave it until it's hungry as its moving too much in the trap as it tries to escape

Or tries to eat you.....? (just meme)

More Yutyrannus Taming & KO Tips