Chain of command is not the same as being the boss or supervisior. The captain cannot fire or suspend anyone they come in contact with. They can only do as much as anyone else on the crew could do to him. Report the issue to their actual supervisor. Which for captains and fos is the chief pilot.
The FO can just as easily have the captain removed as the captain could have him removed.