Elevator was in the process of being test ran after previous repairs, during test run, elevator and one miner was stopped at the top landing unable to exit or move. Repairman was onsite and able to open the elevator and move to ground level. Miner was in the elevator for 33 minutes.