London: England face a difficult fourth-innings run chase following a hard-fought day three against Pakistan at Lord's on Saturday.
With a 67-run first-innings deficit to try to turn around, the hosts reduced Pakistan to 60-4.
However, some stout resistance from the tourists' lower order frustrated England despite Chris Woakes taking his second five-wicket haul in the match.
Pakistan closed with a lead of 281, knowing England have only once scored more runs to win a Test at this venue.
England will feel they let their advantage slip, especially after Stuart Broad dropped a difficult chance to dismiss Yasir Shah at mid-off and then wicketkeeper Jonny Bairstow spilled what was more of a regulation catch to end a punchy innings from Sarfraz Ahmed.
They may also rue the moment Younus Khan, who put on 69 with Shafiq for the fifth wicket, had a leg-before dismissal reversed following a review with the score at 75-4.
Pakistan - 339 (Misbah 114, Shafiq 73, Woakes 6-70) amd 214/8 (Shafiq 49, Woakes 5-31)
England - 272 (Cook 81, Yasir 6-72)
Status - Pakistan lead by 281 runs