Infinite Ship Money
Dismantle your entire ship. Talk to dock master. Summon new copy. Rinse and repeat. May only work on sufficiently small craft, make sure you save BEFORE you do this one.
Wisdom Infinite Money
With high wisdom, Stone Background Blocks sell for $2 to the vendor, but you can buy it back for $1. Rinse and repeat.