In this case I was able to fly it out after several attempts to fly to various airports, but as @Dokhu said that will not always be possible. Had there not been an airport (with sufficient runway) so close to where it originally landed, the aircraft would have indeed become stuck as the fuel weight needed for a longer trek would exceed the runway length. i.e. long flights to an isolated airport with insufficient runway length can render the aircraft stuck and so “if you can fly it in, you can fly it out again” is not always true.
I suppose I was surprised that the aircraft could land at an airfield with insufficient runway to begin with, since the older version wouldn’t allow a ferry flight to an airfield that was below runway minimums, but I believe that is part of the newest update accounting for fuel weight. Certainly adds to the realism, and I just must be more careful in the future!