Twist the speedo end of the core and with any luck it should drop back in at the T box end.
Otherwise you have to unscrew a small bolt in the cover plate and relocate it there. It's a simple enough job ... Ain't they all!!
At the speedo the sheath clicks into place once you have lined up the centre