To swim toward the source of a stream or river, i.e., against the current.
2.
United StatesUnited Kingdominformalfigurative
To act, proceed, or strive against prevailing opinion, trends, or obstacles; to pursue a course that is more difficult because it opposes the dominant direction.