Cap, captain, and capital, all use the root cap-. What is the most likely meaning of this root?

Head

Formal

Military

Manager
(Think it might be Formal)
PLEASE AND THANK YOU