Couple of options... 1 is did you use the intercom once you went to the space.
If the answer is yes and you are still stuck you can use the Emergency Fleet Ability to go to the fleet and then try again. I got stuck on the ship because I died and it put me on the wrong side of the wall and i couldn't go anywhere. I used the Fleet Pass and went back and finished it just fine