Authorities say they rescued 27 people aboard a vessel that was going down off the country's coast