The book "Cosmic Products of Avalokitesvara" says that chanting Avalokitesvara will save lives in many critical situations. Whether it's a critical moment in real life, a horrible moment in a bardo, or a critical moment in a dream, you can be saved by reciting Guanyin Bodhisattva.
Meditate more at ordinary times, and you will think of it in times of crisis.