The train, which had left Patna, was en route to its final destination, Barkakana Junction, when Kumar spotted a snake inside the engine.