Officials say they have managed to rescue passengers stranded off the country's western coast after engine failure.