^Riker's benching was the writing on the wall: either get your act together or get out. The crew didn't have a choice but to follow Jellico's orders once he confined Riker to quarters. I don't mean to imply that they had a choice before that happened, but their perception of the situation changed once Jellico put his foot down.
Though nothing is stated either way, I suspect Riker was in his quarters of his own free will, not confined there, because Jellico explicitly stated to not make him do that
I actually take it as a sign that Riker's bucking the chain of command had repercussions on their subordinates. It gave them the will to not respect the captain too. Once the agitator was gone, the chain of command returned to normal, & everyone actually benefited from a more functional dynamic