After lowering in the tailpiece for the 5 Right longwall setup, the counterweight on the A Shaft Man/Materials cage came out of the guides. This caused man cage to be out of service over 30 minutes. Production was ceased on the longwall and the skips were setup to transport men in case of emergency underground. Shoes were adjusted, hoist back in service @ approx 12:15pm.