Pakistan all-rounder Mohammad Hafeez, on Tuesday, announced his retirement from Test cricket on the second day of the final Test against New Zealand.
Smart money says Pakistan will triumph.
Shafiq after the day's play asserted that Pakistan must limit New Zealand in their second innings after his side failed to chase down 176 in the first Test.
Pakistan was cruising along at 286-3 on the back of double-century stand between Azhar (134) and Shafiq (104) before New Zealand came back strongly to bowl out the home team for 348 after tea.
Pakistan legspinner Yasir Shah has become the quickest bowler to take 200 wickets in Test history.
They trail by another 135 runs, but with seven wickets in hand and a very solid-looking Azhar Ali batting on 62, they will be looking to dominate the proceedings.
New Zealand will start day four of the third and final Test against Pakistan in Abu Dhabi on Thursday.
The Black Caps don't have to look far for good omens as they fight for victory in the third and deciding test against Pakistan.
"It's always nice to bat with Azhar", said Shafiq.
Azhar edged medium pacer Colin de Grandhomme through the slips to complete his first century since May 2017 against the West Indies in Dominica - and his first hundred against New Zealand. After struggling in their first 44 combined wicketless overs, spinners Ajaz Patel (2-100) and Will Somerville (4-75) first broke the pivotal partnership, then ripped through a weak tail order to drag the Black Caps back into the test.
He hit 14 boundaries in his 259-ball innings.
Shah was run out in freakish fashion when he lost his right shoe while going for the second run with captain Sarfraz Ahmed (25).
Kane Williamson's defiant half-century led New Zealand to 112-4, reaching a resilient 55 off 86 balls.
Boult has figures of 2-54 while fellow paceman Tim Southee has taken 1-39.