It does come out through the bottom when you get the correct angle. I cannot remember how I did it, I had the same problem putting it back in, but got it in eventually. .
The hand brake cable was in when I put the tube back in, so it must go.
The rear suspension was off so the trailing arms were not obstructing the path.
I think the tube was upside down to get the S bit out.