I have come across a glitch in this scenario when your asked to switch cabs the loco doesn't respond to controls in the next cab you can however use the working cab to reverse to couple to the carriages bit on doing so no matter how slow you attach you evidently will derail ....!
I thought it was just me, but yea I had that issue too. Rivet scenarios are a mixed bag; they’re actually pretty good and creative when they work but it feels like they often do not work