I think at the last minute he realized there was a better way.
Most birds in the rookeries have specific paths they fly. Safe, away from other nests, and most important avoiding the trees.
Things don’t always go to plan. The Egret cut through the trees, and then made for open space.
Of course there were no issues, they are amazing at flying through a crowd.