I had one pairing battle like males this year, and I just switched males. Being in a rack or room with other males is not the problem. The male from that pairing went right into another females tub and all was good. The female got a different male and away they went.
Give him a week and reintroduce them. If they do it again I would consider them a incompatable pairing. This is considering they are sexed properly and your female is looking to breed.
If she ovulated he will show no interest or your female will twitch and nudge him off of her.