Mitchell Marsh hit a counter-attacking 96 in a fighting rescue mission with a dogged Steve Smith Thursday to help Australia build a 241-run lead and regain control of the second Test against Pakistan.
The hosts were reeling at 16-4 after dismissing Pakistan for 264 in reply to their first innings 318 in Melbourne.
But Marsh and Smith put their heads down to compile what could be a match-saving 153-run partnership.
At stumps on day three, the hosts were 187-6 with Smith out for 50, off 176 balls, in the last over of the day, leaving Alex Carey unbeaten on 16.
.@SalmanAliAgha1 takes a superb catch! 🙌@mirhamza_k breaks the partnership ⚡#AUSvPAK pic.twitter.com/BkLSoXKkX2
— Pakistan Cricket (@TheRealPCB) December 28, 2023
Shaheen Shah Afridi and Mir Hamza both took three wickets.
It could have been a different story but Abdullah Shafique spilled a regulation catch in the slips when Marsh was on 20.
Marsh eventually fell four runs short of a deserved century, but it took a superb one-handed diving catch at slip from Agha Salman to remove him.
After Cummins took 5-48 and Nathan Lyon 4-73 to dismiss Pakistan, Australia needed to negotiate a tricky 15 minutes of the morning session.
But Usman Khawaja was out for a duck second ball, caught behind by Mohammad Rizwan off bowling spearhead Afridi.
The same combination struck again when Marnus Labuschagne edged down the legside on five as the hosts slumped to 6-2 at lunch.
When they returned, David Warner let rip with a drive to the boundary off Afridi, but he didn't last, dragging a Mir Hamza ball on to his stumps on six.
He received a standing ovation as he walked off for the last time as a batsman at the Melbourne Cricket Ground, with the third Test in Sydney set to be the last of his long career.
Things got worse for the hosts when Travis Head was bowled by Hamza's inswinging yorker next delivery to leave Australia in disarray at 16-4.
But Marsh saw off the hat-trick ball and along with Smith dug in to take the sting out of the attack.
- Cummins takes five -
When Aamer Jamal came on, Marsh slammed three boundaries in four balls to further relieve the pressure before the missed chance by Abdullah.
Smith played a crucial supporting role, taking 101 balls for his first boundary before reaching a gritty 40th Test half-century.
Pakistan had begun the day on 194-6, after an electric spell from Cummins in the final session on Wednesday saw a collapse from 124-1, and the Australia skipper was again in the thick of the action.
Rizwan made a confident start, adding 13 to his overnight 29.
.@mirhamza_k IS ON 🔥
— Pakistan Cricket (@TheRealPCB) December 28, 2023
Warner and Head removed on consecutive deliveries 🎯🎯#AUSvPAK pic.twitter.com/A5DCqZHFyx
But he was no match for a canny Cummins, who tempted him into a drive that flew straight to Warner who had just been moved to cover from slip.
It broke a 45-run partnership with Jamal who began to play his shots.
New partner Afridi crunched four boundaries before he was undone by Lyon's spin, trapped lbw for 21.
Jamal was in good touch, finding the ropes three times in six balls at one point in his 33 not out.
Cummins grabbed his fifth wicket by bowling Hasan Ali for two before Lyon had Hamza stumped for the same score.
Cricket: Australia v Pakistan 2nd Test scoreboard
Scoreboard at the close of play on day three of the second Test between Australia and Pakistan at the Melbourne Cricket Ground on Thursday:
6️⃣ wickets between @mirhamza_k and @iShaheenAfridi today 🤝☄️
— Pakistan Cricket (@TheRealPCB) December 28, 2023
Australia lead by 241 runs at the end of Day Three 🏏#AUSvPAK pic.twitter.com/RjrwkpewkT
Australia 1st innings 318 (M. Labuschagne 63, U. Khawaja 42; Aamer Jamal 3-64)
Pakistan 1st innings (overnight 194-6)
Abdullah Shafique c&b Cummins 62
Imam-ul-Haq c Labuschagne b Lyon 10
Shan Masood c Marsh b Lyon 54
Babar Azam b Cummins 1
Saud Shakeel b Hazlewood 9
Mohammad Rizwan c Warner b Cummins 42
Agha Salman c Carey b Cummins 5
Aamer Jamal not out 33
Shaheen Shah Afridi lbw Lyon 21
Hasan Ali b Cummins 2
M. Hamza st Carey b Lyon 2
Extras (b8, lb7, nb3 w5) 23
Total (all out; 73.5 overs) 264
Fall of wickets: 1-34 (Haq), 2-124 (Shafique), 3-131 (Azam), 4-147 (Masood), 5-151 (Shakeel), 6-170 (Salman), 7-215 (Rizwan), 8-240 (Afridi), 9-255 (Ali), 10-264 (Hamza)
Bowling: Mitchell Starc 16-3-69-0, Josh Hazlewood 16-5-43-1, Pat Cummins 20-1-48-5, Nathan Lyon 18.5-2-73-4, Mitchell Marsh 3-0-16-0
Australia 2nd innings
U. Khawaja c Rizwan b Afridi 0
D. Warner b Hamza 6
M. Labuschagne c Rizwan b Afridi 4
S. Smith c Salman b Afridi 50
T. Head b Hamza 0
M. Marsh c Salman b Hamza 96
A. Carey not out 16
Extras (b1, lb9, w5) 15
Total (for 6 wkts; 62.3 overs) 187
To bat: P. Cummins, M. Starc, N. Lyon, J. Hazlewood
Fall of wickets: 1-0 (Khawaja), 2-6 (Labuschagne), 3-16 (Warner), 4-16 (Head), 5-169 (Marsh), 6-187 (Smith)
Bowling: Shaheen Shah Afridi 18.3-2-58-3, Mir Hamza 16-6-27-3, Hasan Ali 12-2-31-0, Aamer Jamal 13-2-52-0, Agha Salman 3-1-9-0
Toss: Pakistan
Umpires: Michael Gough (ENG), Joel Wilson (WIS)
TV umpire: Richard Illingworth (ENG)
Match referee: Javagal Srinath (IND)