Assume a defensive posture; reorganize a team to meet a coming challenge.

This bit of American English comes from movies about wagon trains crossing North America. While in motion, the wagons generally stuck close to a single file line. At night, or whenever danger appeared, the wagons would form a circle as a perimeter within which they would be relatively safe.

As TheLady points out, however, it's a Hollywood thing.