Railway warns against moving trains