Murray tearfully announced on Friday that he is planning to retire this year, and maybe as soon as after this tournament, the 31-year-old threatened a miracle but was ultimately beaten 6-4 6-4 6-7 (5) 6-7 (4) 6-2 by the Spanish 22nd seed.
Murray’s hopes were not high given the state of his right hip but this was a remarkable performance for a man who admits he struggles to put his shoes and socks on.
A kinder draw and Murray might well have delayed the seemingly inevitable but Bautista Agut is one of the fittest and grittiest players on tour, and he fought off the Scot’s comeback.
Murray’s voice was wavering as he began his on-court interview with his former coach Mark Petchey.
“I think I’m going to be all right,” he said with a smile. “It was incredible, thank you so, so much to everyone that came out tonight. I’ve loved playing here over the years, it’s an amazing place to play tennis. If this was my last match, an amazing match to end.
“I gave literally everything I had. It wasn’t enough tonight so congratulations to Roberto and his team. I don’t really have anything else to say but thanks to everyone, my team, my family, and everyone that’s contributed to my tennis career.
“Maybe I’ll see you again. I’ll do everything possible to try. If I want to go again, I’ll need to have a big operation, which there’s no guarantee I’ll be able to come back from, but I’ll give it my best shot.”
The snaking queues outside Melbourne Arena of tennis fans wanting to see Murray was a sight to behold and he was greeted by a deafening roar as he emerged onto the court, which has seats available to holders of ground passes.
Murray waved and held a thumb up, no doubt determined to soak it all in.
His coaching team, Davis Cup captain Leon Smith, friend and former coach Dani Vallverdu, British players Katie Swan and Harriet Dart and mum Judy were among those in attendance and they were joined during the opening set by brother Jamie, who rarely watches Andy live because he finds it too stressful.
If that was an indication this was far from just another match, the early stages were encouraging, with Murray moving much better than he had in Thursday’s practice match against Novak Djokovic that set the alarm bells jangling.
He was striking his backhand well but movement to the forehand remained a major issue and the ever-present limp slowly became more pronounced.
It was a tough situation for Bautista Agut, taking on the crowd and an opponent who was clearly not at full fitness but whose capabilities on the day remained a question mark.
The Spaniard took the first set after breaking at 4-4 and Murray’s chuntering to himself was a reminder that he still very much wanted to win a tennis match.
There were flickers early in the second set with two break points but Bautista Agut went on to take that too. It would not be Murray, though, if he did not go down without a fight, and fight he did.
Broken for 1-2 in the third set, he hit straight back, pushing a backhand down the line to finish a vintage point and holding his arms aloft.
There were more celebrations when he fought off a break point at 4-4, and he forced a first set point in the next game. He would have taken it, too, but for an overrule from umpire Eva Asderaki-Moore on a second serve that was backed up by HawkEye.
But Murray was not to be denied in the tie-break, creating two set points when Bautista Agut shanked a forehand over the baseline and taking the second with a forehand guided into the open court.
Murray roared in delight and defiance, his fighter’s instinct drowning out the pain.
And the heroics did not end there. Murray matched Bautista Agut throughout the fourth set and was the better player in the tie-break.
But he was unable to maintain his momentum early in the fifth set, with Bautista Agut winning five games in a row.
Murray fought back tears as he served at 1-5 but there was still time for one more magic moment as he saved a match point by finishing a long rally with an angled volley winner.
The three-time grand slam champion must now decide on his next move, having said on Friday that his original plan to retire after Wimbledon is in jeopardy because of the amount of pain he is in.
That was echoed by the Scot’s surgeon, and Murray may well choose to have a second operation straight away to improve his quality of life.