they are at The Awkward Age (in our house we call it The Kevin Years)
5 month boars are entering full blown adolescence (though our boars had a barney at a year & a bit, our first winter with them)
How big is their sleeping area ( not their play area but the space they are locked into) . I found my boars were very judgey of a 4'x2' which is the 'standard' size for two adults.
If you seperate them (as in taking one away with you) then you'll have two lonely piggies.
How long are you away for?
They don't choose the best time to have a scuffle do they little gits
We put a divide in the cage for the first winter with GP1 and GP2 (so they had a small sleeping space each -not ideal I know) but they went out to their Pighouse every day so they had room to get out of each others' faces.
In your shoes-
I'd maximise their sleeping area however I could.
Bath them if they're indoors to make them smell neutral
Do a rebond - introduce them again on neutral territory.
For the sake of your neighbour's sanity , you might need to keep them apart physically but within talking range and vision. They need to communicate .
You won't be there to keep a stern eye on them but at least they won't have any punch-ups.
Of course you'll need to re-introduce them afterwards............. so hopefully between now and then they're more amicable.
What helped ours was - two boxes stuffed with hay . Their 'own' space and food to keep them busy.
Not allowing one to trap the other. So escape routes cut into the boxes.
A cover over the cage at night.
And it was our little boar GP2 who picked the fight . Too much coriander and hormones.
We had a boar who was a piglet when we got him but wasn't aggressive, just kept trying to mount his older cagemate (GP1)
Worse in Spring too......................