A beekeeper can capture a swarm by placing a suitable container, such as an empty beehive, on the ground below the swarm and dislodging the bees at the entrance to the hive. The bees will begin to move into the hive which can be removed after dark to the beekeeper's apiary. You can observe the bees scent-fanning at the entrance to signal the entrance to the new nest as the bees march into their new home. If for some reason the queen does not go into the new hive, the bees will abandon it and form a cluster where she lands. Honey bees are cavity nesters and will seek a cavity of at least 15 liters of storage space.
Hollow trees are a preferred nesting sites.
Honey bees are beneficial pollinators and should be left alone and appreciated unless their nest are in conflict with human activity. Also, without bees to control the temperature, the wax may melt and honey drip from the combs. After removal, the cavity should be filled with foam insulation as the nest odor will be attractive to future swarms. You may want to seek the assistance of a professional beekeeper or exterminator. Nests should be removed promptly from problem sites.