I had this also happen (while ago, it was a fighter, don't remember which), you end up launching down the long connecting bridge and get stuck inside the station. I ended up flying around inside the station back to the dock area, where I was able to do a redock & takeoff.
Similar thing happens with larger ships getting stuck on some other stations, but those ships end up being pushed away from the station and avoid getting stuck permenately.