According to an embodiment of the present invention, a portable electronic device effectively prevents stealing. The portable electronic device comprises: a detection unit for detecting a movement of the portable electronic device; and a control unit for setting a stealing generation mode when the portable electronic device moves after a stealing detection mode is set.