What was to stop......(spoiler)

The medical supply ship from just putting out to sea after being fired upon? Seems strange that the captain and crew were too scared to come in during all that time and then suddenly decided to come in after being fired upon. There was nothing to stop them from just going out beyond reach of the cannons if they were that scared of catching yellow fever.

"The storm cannot be stopped, but it can be survived.'"