When caught in a riptide, it's advised not to fight the powerful current. Even strong swimmers can't overcome it. Instead, you should conserve energy until the tide weakens, then swim perpendicular to shore. Life presents similar moments when we face forces beyond our control. Like enduring an abusive relationship – it’s often better not to confront the abuser in the heat of the moment. Tread water by finding support until you can safely exit. Or coping with workplace bullying – directly facing the bully could worsen matters. Document incidents, lean on coworkers, and watch for opportunities to leave for better prospects.
Good analogy although I'm perplexed about your last phrase: don't you mean "keep within sight of the shore?"