invoked to prevent drowning