"The fast" referred to here was the Day of Atonement, which would have been during the first part of Octobera dangerous time to be at sea, with winter storms soon approaching.
Paul spoke to the captain, saying, "This is a bad time to be sailing." Now, although Paul was a tentmaker by trade, a rabbi by profession, and a prisoner by decree, the fact that he had been shipwrecked three times and had spent an entire day and night in the open ocean (2Co 11:25) qualified him to be able to give advice concerning the dangers of the sea.