Former U.S. Navy SEAL Jocko Willink understands what it's like to have a bad boss. He's had his share but was also a micromanager himself on the battlefield, he explains in his new book "The Dichotomy of Leadership."
Given his unique perspective, Willink offers one key piece of advice: Don't focus on what you wish you could change about your boss. Instead, focus on being your boss's ally. "Great boss or horrible boss, my goal is to have a great relationship with [that person]," says Willink to CNBC Make It.
Here is Willink's advice on how to build a better relationship with three types of difficult bosses.
Micromanagers will try to control your every thought and action. Bosses who do this likely have a trust issue, explains Willink. When he found himself with a micromanaging boss, Willink had a straightforward strategy: he did exactly what his boss asked.
He gave that boss all the information that was asked for and more. "I'm going to give them the most detailed report of everything that I'm doing so that they realize: Yes, I am engaged. Yes, I am walking a good path. And yes, they can begin to trust me."
Eventually, Willink said his boss would look at him and say, "Hey, you don't need to give me all this information. Go out. I trust you. Do what you have to do."
Defensive bosses who won't take ownership for their decisions might be insecure. With these managers, Willink suggests you massage their egos.
Make them realize that you respect them. "Make them feel good," he says.
With these types of leaders, it's critical to make it clear that you aren't looking to take credit from them. You'll build a better relationship with your boss by ultimately proving that you're "actually there to make them look good."
When a boss fails to provide guidance and leaves you in the dark, it's easy to feel lost and discouraged. Instead, Willink recommends that you think of your manager's hands-off leadership style as an opportunity to forge your own path.
"If my [bosses don't] want to tell me what it is they want me to do, guess what? I'm going to figure out what it is I'm supposed to do," says Willink. "I'm going to come up with my own plan and I'm going to move forward with it."
To avoid any surprises, keep your boss in the loop as you craft your goals. Make sure you present your plan to your manager for any feedback. This simple move will create space for your boss to give you guidance or, better yet, a simple thumbs up.
Whatever you do, keep your relationship with your boss top of mind. The strength of your relationship with your boss will shape the work you and your team can get done. "What I'm trying to do is build a relationship," he says, "so that I can effectively go out and accomplish the mission with my team."
Like this story? Subscribe to CNBC Make It on YouTube!