In one of the upcoming nightlies there should be a
very experimental version of this.
While, I've got most crashes and bugs out of it, it is possible some settings which may cause a crash.
First you will need active a new experimentalfeatures bit for it.
Then move a train engine holding control, this train must have
no consist attached to it.
This might be over come in future versions but currently, it doesn't accept them.

It should remove the orders and such and move the to the location spified.
Reverting them on the other hand would be very difficult.

So please don't ask for it reverting, it might be done in later versions but for now, you got what you wantted?
[edit] Cannot commit it now though, thunder storm coming.
~ Lakie