Continuous miner was cutting in the #4 entry in left side of pillar, when the rib rolled off and went into deck of the miner. Rib roll pushed E-stop in and miner wouldn't start back. The roof bolter was being utilized to bolt up to the miner, when a rock 3' thick fell on the head of the miner. A retriever was utilized to pull the miner out.