close ranks

[close ranks] {v. phr.} 1. To come close together in a line especially for fighting.

The soldiers closed ranks and kept the enemy away from the bridge.

2. To stop quarreling and work together; unite and fight together.

The Democrats and Republicans closed ranks to win the war.

The leader asked the people to close ranks and plan a new school.