You may want to check the cost of transporting the boat overland by truck as well. A 31' boat is easily hauled out and loaded on a lowboy trailer
. Might need escorts in some states, and maybe NY is a deal-killer, but it's worth checking out.
I bought a 38' boat in Tampa and had it hauled and shipped to an inland lake in Alabama
. Then 2 years later, hauled it back out and trucked it down to Mobile, AL.
A few years earlier, I had bought a 27' Catalina
sailboat in Punta Gorda, FL, had a custom trailer
built; rented a Ford F-250 from Enterprise; and drove down and hauled it back to Alabama
The guy I sold
that boat to drove down from Alberta, Canada
and drove it back across county.
A 31' boat is at the high end of being trailerable, but it's doable. For a pro with an 18-wheeler, it's a piece of cake.
Now, if you just want the adventure of sailing it back home, then by all means, sail it back.