England have ensured that they will not experience another Ashes whitewash in Australia by claiming a dramatic draw in the Fourth Test.
Such was the deficit facing England ahead of the final day that a win was not a realistic option, a stalemate deemed the best outcome on a fifth-day pitch.
Bairstow followed his first-innings century with a battling 41, but he and Mark Wood were removed by Pat Cummins within three balls to leave Jack Leach, Stuart Broad and James Anderson facing just under 11 overs.
Leach and Broad lasted 52 balls before Leach was out for 26, heaping the pressure on England's veteran pair, but they successfully fended off Australia's spin attack, an option required due to the fading light.
While there will be relief in the England dressing room, all eyes will be on whether Stokes and Buttler will be fit enough to feature in the closing game in Hobart, which starts on January 14.