Urahara reveals that he fired a sealing spell into Aizen earlier in the battle. It only triggered once Aizen’s power dropped to a certain level.
If you didn't get chills when the sky turned black, are you even watching anime? bleach dub episode 309
If you want a scene-by-scene breakdown, shot-by-shot animation notes, or a comparison to the manga events around this episode, tell me which and I’ll expand. Urahara reveals that he fired a sealing spell