After his Ashes heroics last summer, Marsh hasn't reached 50 in 11 Test innings since the start of the tour of South Africa earlier this year, making just 157 runs.
Pakistan ended day two in a dominant position with a lead of 281 runs, as Azhar Ali and Haris Sohail remained unbeaten at stumps.
Earlier, the visitors resumed their inning with 20 runs on the score board and eight wickets in hand. Later, the debutant Fakhar Zaman and skipper Sarfraz Ahmed rescued the team with a 147-run sixth wicket partnership.
Where will be the second Test between Pakistan and Australia be played?
Medium pacer Mohammad Abbas registered a five-wicket haul to steer Pakistan into a dominating position in the second Test against Australia in Abu Dhabi on Wednesday.
Fast bowler Mohammad Abbas had Usman Khawaja - who scored a fighting 141 to lead Australia's fightback for a draw in the first Test in Dubai last week - caught behind for his 50th Test wicket in 10 Tests. Fakhar Zaman and Azhar Ali scored half-centuries for the hosts.
4 - Fakhar Zaman and Sarfraz Ahmed getting out on 94 is only the 4th instance of two batsmen getting out on an identical score in the 90s in a Test inning.
Shafiq blocked the hat-trick ball, the first ball of the 22nd over, but got a faint inside edge to Lyon's subsequent delivery and was caught at bat-pad by Labuschagne after a successful decision review by the Australians. In the process, Lyon surpassed former paceman Mitchell Johnson to move to fourth on Australia's list of all-time leading wicket-takers with 314.
Zaman scored almost three quarters of his runs on the offside, hitting eight fours and a six in his 198-ball knock. He is the joint second quickest to achieve this milestone among Pakistan players after Yasir Shah (9).
Pakistan made two changes to the lineup that started in Dubai, giving Zaman and left-arm seamer Mir Hamza test debuts as replacements for Imam-ul-Haq and Wahab Riaz.
Zaman was eventually bowled for lbw by Labuschagne, before the leg spinner then got Bilal Asif caught for 12 by Aussie captain Tim Paine.