A while ago I was tempted to mess around with the alliance system, created an alliance, but after messing around for a while, I found no use for it in singleplayer. At that point I've added some resources, as well as my primary ship.
I click on "Disband Alliance", thinking that it would pop-up a confirmation message and/or warning to what was about to happen. Instead, all the resources in the alliance seem to have disappeared, that's not a big problem, but then I noticed my ship went with it. Out of curiosity, I attempted to exit and then enter it, but all it said was "This craft has no owner". And there I was, stuck outside of my own ship.
At this point I realized that there is no way to do this without some sort of trickery. After prolonged searching, I found out that the game supports scripting, but unfortunately I don't have any experience using lua code. So I'm asking for your help, even if it requires me to edit stuff in my appdata, run a command or lua script - basically anything to get back my precious ship. Thanks in advance!
TLDR; I disbanded a singleplayer alliance with my ship in it, now i'm stuck outside and need help getting it back (with scripts/commands if possible).