West Indies were left reeling at 171-4 as Pakistan pressed for victory on the fourth day of the second test after setting up a stiff target of 456 runs.
Leg-spinner Yasir Shah took 2-60 while seamer Rahat Ali got the prized wicket of Darren Bravo for just 13 when the left-hander played a lose cut and was caught at point Monday.
Left-arm spinner Mohammad Nawaz then went for a successful lbw television referral against half century-maker Kraigg Brathwaite (67) to leave West Indies with a gigantic task to save the test on the last day.
Jermaine Blackwood (41 not out) and Roston Chase (17 not out) survived over an hour and will resume with West Indies requiring further 285 runs for victory or to bat out the 90 overs for a draw on Tuesday.
Both Blackwood and Chase needed to repeat their performances against India at Jamaica in August where they also resumed the last day and earned West Indies a draw.
West Indies already trails 1-0 in the three-match series after losing the first day-night test by 56 runs where Bravo hit a resilient century in the second innings.
Earlier, Pakistan stretched its lead to 455 before declaring their second innings at 227-2 at lunch after they resumed at overnight 114-1.
Asad Shafiq scored successive half century with a fluent unbeaten 58 and West Indies’ lone success came when Azhar Ali (79) chased a wide delivery of Miguel Cummins and was caught in the slips.
Azhar, who scored a triple century in Dubai test, added 29 to his overnight 52 before missing out on an opportunity to hit a hundred.
Brathwaite looked at ease for the first time in the test series despite Shah striking in his second over and clean bowling Leon Johnson for 9.
Bravo looked composed until he played a reckless stroke and gifted his wicket before Marlon Samuels and Brathwaite added 49 runs.
Shah broke the partnership after tea when Samuels fell to a loose shot and looped a simple catch back to the leg-spinner.
Brathwaite completed his half century off 71 balls when he flicked Rahat Ali to wide mid-on for three runs but erred against Nawaz’s quicker delivery.
Chase, who scored an unbeaten century at Jamaica against India and batted throughout the last day, then played solidly with Blackwood as both batsmen negotiated the spin and reverse swing of seamers for more than 17 overs.