A portable electronic apparatus comprising: a main body motion determination device configured to determine whether a predetermined accelerated motion is exerted on a main body of said portable electronic apparatus in a predetermined axial direction; a touch sensitive part configured to detect a touch operation of a user; and a control device configured to control said portable electronic apparatus to perform a predetermined action based on said touch operation and on a pattern of said predetermined accelerated motion determined to occur by said main body motion determination device; wherein said control device is configured to detect a shake operation based on said predetermined accelerated motion after the touch operation of the user has been detected; wherein said control device is further configured to abort, by a first timer, a routine that is configured to detect the shake operation after the touch operation has been detected when a predetermined time has elapsed since the first timer was started; wherein said control device is further configured to measure, by a second timer, a time period from a point of time a shaking operation is first detected, to a point of time a next shaking operation is detected; wherein said control device is configured to replace a currently selected shuffle reproduction mode by a next shuffle reproduction mode if the user performs the touch operation within the predetermined time measured by the first timer; and the user performs three consecutive shaking operations after performing the touch operation; wherein a shaking operation will only be recognized if the user still touches the touch sensitive part while performing the shaking operation; and the shaking operation is performed within a predetermined time measured by the second timer after the touch operation. a main body motion determination device configured to determine whether a predetermined accelerated motion is exerted on a main body of said portable electronic apparatus in a predetermined axial direction; a touch sensitive part configured to detect a touch operation of a user; and a control device configured to control said portable electronic apparatus to perform a predetermined action based on said touch operation and on a pattern of said predetermined accelerated motion determined to occur by said main body motion determination device; wherein said control device is configured to detect a shake operation based on said predetermined accelerated motion after the touch operation of the user has been detected; wherein said control device is further configured to abort, by a first timer, a routine that is configured to detect the shake operation after the touch operation has been detected when a predetermined time has elapsed since the first timer was started; wherein said control device is further configured to measure, by a second timer, a time period from a point of time a shaking operation is first detected, to a point of time a next shaking operation is detected; wherein said control device is configured to replace a currently selected shuffle reproduction mode by a next shuffle reproduction mode if the user performs the touch operation within the predetermined time measured by the first timer; and the user performs three consecutive shaking operations after performing the touch operation; wherein a shaking operation will only be recognized if the user still touches the touch sensitive part while performing the shaking operation; and the shaking operation is performed within a predetermined time measured by the second timer after the touch operation.