~た{拍子|ひょうし}に
The moment …, (something unexpectedly happened); at the instant of …
N2
V-ta + {拍子|ひょうし}に (also N + の{拍子|ひょうし}に, {何|なに}かの{拍子|ひょうし}に)
~た{拍子|ひょうし}に says that at the very instant of a movement or action, something unplanned happened because of it or by chance: {転|ころ}んだ{拍子|ひょうし}に{財布|さいふ}を{落|お}とした. The first clause is usually a quick physical action ({転|ころ}ぶ, ぶつかる, {立|た}ち{上|あ}がる, くしゃみをする), and the second is an accidental, often unwanted past event, not something the speaker intended. It is used in both speech and writing, including news about accidents; {何|なに}かの{拍子|ひょうし}に means 'for some reason, by chance'. Compared with ~たとたん (N3), which only stresses 'right after', ~た{拍子|ひょうし}に adds the idea that the first action triggered the accident; ~や{否|いな}や and ~が{早|はや}いか (N1) describe a quick sequence that is often intentional. A common mistake is putting a deliberate action in the second clause (*{立|た}ち{上|あ}がった{拍子|ひょうし}に{電話|でんわ}をかけた).
Examples
脚立から降りた拍子に、足首をひねってしまった。
The moment I stepped down from the stepladder, I twisted my ankle.
利用者さんを支えようとした拍子に、腰を痛めてしまった。
Just as I tried to support a resident, I hurt my lower back.
棚にぶつかった拍子に、商品がいくつか床に落ちた。
When I bumped into the shelf, several products fell onto the floor.
Exercises
1.くしゃみをした 、持っていたコップの水をこぼしてしまった。
2.急に立ち上がった拍子に、 。