What's "hold it together" mean?

Native speaker’s answer
Rebecca
To remain calm, composed, and ready to do what is necessary, especially in the face of adversity or crisis. Ex: I know you're stressed out, but you're the boss, and you need to hold it together for the sake of your team. Ex: The whole operation fell into chaos, but the captain held it together and kept his troops focused on the mission at hand.