Chris Wood's first half-century of the season and an unbeaten 35 from Neil McKenzie ensured Hampshire escaped with a draw in their LV= County Championship Division Two encounter with Glamorgan.
Rain meant only 39 overs were possible, during which time Hampshire overcame a 14-run deficit, built a lead of 108 and lost just two wickets to leave a draw inevitable as the home side closed on 237 for four at the Ageas Bowl.
Hampshire began the last day on 115 for two from 41 overs, still 14 behind and with Glamorgan in urgent need of early wickets before the threatened rain arrived, but they were frustrated in their efforts.
Liam Dawson and nightwatchman Wood took root as Hampshire required 46 overs to clear the deficit.
There was still marginal hope for Glamorgan when Dawson was run out for 42 in the 52nd over, leaving Hampshire with a lead of just 40, but it quickly died when the powerful-driving Wood was joined by McKenzie.
The pair added another 95 in 29 overs for the fourth wicket as the match headed for a draw.
Wood made an aggressive 69 which included three successive fours off Graham Wagg, but the left-armer returned in his next over to have the 23-year-old caught at slip by Michael Hogan.
And as he trudged off the field, the rain came down and rest of the players followed, forcing the draw.