Duty to rescue
The Golden Rule: treat others as one would wish to be treated.  This assumes that all persons would wish to be rescued if they were in distress, and so they should in turn rescue those in distress to the best of their abilities. What counts as distress requiring rescue may, of course, differ from person to person, but being trapped or at risk of drowning are emergency situations which this position assumes all humans would wish to be rescued from.