at the critical moment; when the time comes; in an emergency; when push comes to shove
Refers to a decisive or urgent moment when action is needed. Often used in contexts of preparedness or contingency.
See also: いざ
I keep emergency food stored for when the time comes.
いざという時、彼は頼りになる。
When push comes to shove, he is reliable.