to order sb to leave a place, their job, etc.
give sb their marching orders
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition