What is the meaning of the word "foundering"?

Definitions: