Yasir is not a number 11. He’s a number 9, who contributed nothing in two Tests with the ball.
As I wrote before the series, Shadab or Yasir was going to effectively be a specialist batsman. If you bat as high as 9, you’ve a responsibility to be competent with the bat.