An elevator motor malfunctioned causing a minor smoke condition and momentarily trapped a resident in the elevator car. The occupants of the elevator car were removed by facility staff prior to fire departments arrival. The elevator was secured and the smoke vented by fire personnel. No injuries were reported.