it is best to exterminate it provided that it poses to be a threat for you. you could just avoid going for walks instantly inside of a path of a nest if you already know the location.
How long the stay as a swarm is https://southernpest.biz/wildlife/bee-hive-removal/