in the confusion of the moment; taking advantage of the confusion
Used when someone does something sneaky or opportunistic while everyone is distracted or in chaos. Often implies a slightly underhanded act.
A thief broke in during the confusion of the fire.
He took advantage of the confusion to get her phone number.