Depends on the damage. There should still be crane piers available to fix above the waterline damage. A cofferdam could be built to repair Rainbow enough for a trip to an actual dock.
Of course, no matter what, this is Rainbow's swan song. Either she sinks, or she's so beat up she's not worth...