Trains are so unreliable… I’m so glad I don’t have to commute on them any more..
In my experience they might put a bus on, or enlist a local taxi firm, YMMV
You’ll just have to see what happens and speak to the conductors /station staff.
I doubt you’d get put up in a hotel unless all other options are exhausted.
In my experience… If you need to get somewhere urgently it’s better to forfeit the free transport, cut your losses and arrange your own transport rather than waiting around for hours, but it depends how urgent your journey is to you as to what choice you make.