To work to achieve something amid challenging circumstances, such as staunch opposition. This nautical phrase refers to the difficulty of sailing in the opposite direction as the wind. I know that I am sailing against the wind to try get this unpopular law passed, but I am confident that it will ultimately make our town a safer place.