West Indies battled hard to gain a foothold in the second Test with Pakistan, only to undermine their good work by losing two wickets in as many overs at the end of day two.
Having been made to toil in the field for much of the opening day, when veterans Younis Khan (127) and Misbah-ul-Haq shared a fourth-wicket stand of 175 to help Pakistan to 304-4, the Windies responded strongly with the ball on Saturday.
Shannon Gabriel (5-96) claimed three scalps - including Misbah for 96 - to complete a maiden five-wicket haul in Tests, while Jason Holder also removed three batsmen as Pakistan were dismissed for 452.
The Windies looked set to end the day in a promising position as they moved into three figures shortly before the close, with only Leon Johnson (12) and makeshift opener Darren Bravo (43) having been dismissed.
However, Rahat Ali had Marlon Samuels (30) held at slip in the penultimate over of the day, before a needless mix-up between nightwatchman Devendra Bishoo and Kraigg Brathwaite resulted in the latter being run out for 21.
As a result, the tourists closed in a position of peril on 106-4, still 346 behind on a surface offering increasing assistance to the dangerous Yasir Shah.
Misbah added just six to his overnight score before falling lbw to Gabriel and Pakistan were 342-6 when Holder removed nightwatchman Yasir for 23.
A 70-run stand between the typically positive Sarfraz Ahmed (56 off 59 balls) and Mohammad Nawaz (25) put the Windies on the back foot once again, but Holder and Gabriel combined to good effect after lunch, finding reverse swing to wrap up the innings.
Bravo was promoted to open in reply, with Brathwaite unable to do so having spent time off the field during Pakistan's innings, and outlasted partner Johnson, who fell lbw to Rahat in the third over of the evening session.
A review was required to end Bravo's innings seven short of a half-century, after Yasir's appeal for lbw had been turned down by umpire Michael Gough.
Samuels and Brathwaite looked set to see out the rest of the day, but both were unable to do so, the latter likely to be distinctly unimpressed after being sent back by Bishoo when halfway down the pitch in search of a single.