The safety switch on the elevator tripped while making trip to the surface causing the elevator to go into stop mode. One person was trapped on the elevator for approximately 50 minutes. The elevator was brought to the surface and removed from service immediately until repaired.