Just so that this thread can be a reference for similar problems later, is it possible to get the ship out without using commands?
Things that are coming to mind are pull/push beams (may not work if the star is capable of being struck by these), or making an extremely long ship with the core on one end to keep you safe, and then poke the ship out using the help of a camera(s) on the other end.
Potentially making another ship to make a push blast, and purposely warping into the star again and activating?
Just wondering if any of these would be viable