in the confusion of the moment; taking advantage of the confusion
Set phrase used when someone does something sneaky or opportunistic while everyone is distracted or things are chaotic. Often carries a negative or sly connotation.
Taking advantage of the confusion during the fire, a burglar broke into the house.
In the chaos of moving, I accidentally threw away an important document.