It may not have been pretty, it may not have been assured and it may have owed rather more to fortune than they would have liked, but England's last pair somehow clung on to seal a draw on the final day of the Test series against New Zealand in Auckland. In a thrilling advert for virtues of Test cricket, Matt Prior and Monty Panesar played out the final 19 balls of the game to frustrate a deserving New Zealand.

There were several occasions on a wonderfully absorbing final day when it appeared New Zealand's victory was inevitable. When England lost Joe Root and Jonny Bairstow either side of lunch and when they lost Ian Bell in the over before tea, it seemed New Zealand were on the brink of just their second home series victory over England - the first was in 1983-84 - and their first Test series victory over any top eight opposition since they defeated West Indies in 2006.

But for all England's faults - and there have been times in this series when they have looked a very modest outfit - they possess an admirable resilience. They have been outplayed for long tracts of this campaign but remain, as Leonard Cohen put it, as stubborn as those garbage bags that time cannot decay. Surviving for 143 overs might be considered not only a Dunkirk moment for England cricket, but as admirable in its own way as coming from behind to defeat India in India.

There were several heroes for England. Stuart Broad, who tempered his attacking instincts so completely that it took him 62 deliveries to get off the mark, produced his longest Test innings since the Lord's Test against India in July 2011, while Bell resisted for just short of six hours in seeing England to the brink of the tea interval. But most of all there was Prior who may have produced the definitive innings of his career to thwart an excellent New Zealand seam attack that that threw everything they had at him on a pitch that remained true for batting to the end.

Prior's innings was, in many ways, odd. While his colleagues clung to the crease with the desperation of a climber sliding down a rockface, Prior played with a freedom that seemed to belie the match situation. Despite the fact that runs were irrelevant throughout the last day, he rarely declined an opportunity to punish the loose delivery and reached his century - his seventh in Tests - from only 148 deliveries with his 18th four. The logic was simple: he reasoned it was better to play his natural, positive game than attempt something unfamiliar. His innings may be remembered alongside Mike Atherton's unbeaten 185 in Johannesburg, in 1995, and Dennis Amiss' 262 against West Indies in Kingston, in 1973-74, as one of England's greatest match-saving contributions.

But he, and England, enjoyed much fortune and many nervous moments on the road to safety. Most pertinently, Prior somehow saw the bails remain unmoved after the ball thumped into the stumps when he had scored 28. Struggling to deal with a brute of a bouncer from the wholehearted Neil Wagner, Prior saw the ball bounce, via the bat handle and his neck, onto the stumps but fail to dislodge a bail.

Prior was also adjudged leg before to Tim Southee by umpire Rod Tucker when he had 16 - the Decision Review System showed a thick inside edge onto the pads - and on 20 he survived a loose top-edged pull off the same bowler. Wagner, running back from midwicket, was unable to cling on to a desperately tough chance.

Perhaps New Zealand may rue some missed chances, too. Both Bell and Bairstow were dropped in the over before lunch as Trent Boult, swinging the new ball back into the right-hander, brought tentative edges to the slip cordon from deliveries angled across the batsmen. Bell, feeling for one angled across him that he could have left, was grateful to see Dean Brownlie, at fourth slip, put down a relatively straightforward chance, before, two balls later, Bairstow pushed hard at one some way from him and was fortunate to see Kane Williamson, in the gully, put down a sharp chance.

Batting had appeared relatively straightforward for the first 100 minutes or so of the day. With no hope of scoring the further 391 runs they required to win the game when play resumed in the morning, Bell and Joe Root instead concentrated on occupation of the crease. The pair batted without much trouble for 28 overs, settling in as New Zealand used the seamers sparingly ahead of the second new ball.

But everything changed once it was taken. New Zealand claimed the second new ball the moment it was available and, with its first delivery, Boult produced a beauty that swung back and struck a half forward Root on the pad in front of the stumps. Root and Bell discussed the worth of utilising a review under the Decision Review System, but decided, quite rightly, that the on-field umpire had made no mistake.