Definition
To attempt to do something that is difficult or impossible because it is opposed by most people or current trends.
Insisting on coming to the office every day is like sailing against the wind in an industry that widely embraces remote work.
She tried to persuade the committee to adopt the unpopular proposal, but she was completely sailing against the wind.
Proposing a new way of doing things in a company resistant to change is like sailing against the wind.