Your ant will probably find his way home just fine. Ants rely on scent trails to lead the to food, they aren’t in any way reliant on scent rails them to get back home again.
If that were the case then every time it rained every ant that was outside the nest would die since all scent trails are immediately washed away.
Just as importantly forgaing ants explore by means of a random walk. If ants relied on scent trials to get back home then every time an ant found a food source after 3 hours foraging she would need to take the same meandering 3 hour path back home. And then the rest of the colony would need to take the same 6 hour round trip to the food source, even though it is only a few yards from the nest.
Neither of those effects is conductive to survival and needless to say ants don’t use them.
Instead ants use a variety of visual cues to see which way home is. Ants may not be able to see very well, but they can detect light and dar and they can detect the polarisation of light meaning they have a built-in direction finder. Combine those two senses with some software direction processors and ants can make a bee-line for home fom anywhere they walk.
That allows foraging ants that discover a food source to go straight home, laying down a scent trail as it returns. The other ants can then follow that scent trail to the food in an approximately straight line. It also allows ants that are a caught out in the rain to get home just fine.
As the link above shows, an ant that is moved can have some trouble using those cues correctly, but they generally have a good enough spatial map to allow them to get close to the nest and then wander a round until they find it. Just how far they can be moved and still find home I don’t know but simply sweeping an ant out the door isn’t going to have much effect unless it’s a huge building.