My last encounter was similar but not the same. My 17 year old son and I ran into a boar courting a sow on our way in to hunt black bear. We took an alternate route to get around them and carried on about our evening. Hiking out we took the same alternate route but they had moved a bit as well. We saw them about 100 yards facing directly away and down wind. Almost immediately the sow stood up on her hind legs with nose in the air. As soon as she smelled what she wanted to she turned and came right at us with the boar in tow.
I yelled and got zero reaction so I fired my rifle into a dirt bank to the side of them. That stopped both of them and then the boar turned and hit the timber. She started coming again. I let another one go into the same bank and she stopped then turned to follow the same direction the boar went. I thought that was the end of it. But within seconds they both came back out of the timber 20 yards from where they went in and started coming again. This time they were closer to a small dam on a nearby creek so I shot again into that small pond creating a fairly large splash. That turned them back into the timber and I didn’t see them after that. By now it is getting pretty dark.
Would I fire warning shots again? Not sure. I had six rounds in my rifle so now I have three, and my son has a full magazine in his rifle. As Gatehouse above I had a line where I was going to shoot for keeps, but there was also two bears so maybe that was foolish. But the sow was the only one that was showing any aggression. He seemed to be just following her. Who knows.
Here they are when we first encountered them.