Source: As worded by Indian Railways, Government of India
If your train is cancelled due to accidents, breaches or floods, you will be refunded the full fare paid by you. To claim this refund, you should surrender your ticket within three days of the scheduled departure of the train.