
The iPhone operating system incorporates a feature that allows you to undo the last action performed by shaking the device. Here’s how to turn it off.
If you use an iPhone on a daily basis, you have probably seen a pop-up asking you to cancel the last action you performed on your device: Cancel entry when you have just typed some text, Undo the recycle bin when you have just deleted a message, etc.

While this pop-up can provide many services, in particular to prevent you from having to navigate through different menus to find a deleted e-mail, for example, it is often activated unexpectedly when you hold your iPhone in hand. Fortunately, if you are not using it, this option can be disabled. Here’s how.
1. Open Settings
Open iOS Settings, go to the Accessibility menu, then to the Touch menu.

2. Disable Shake to cancel
Among the many options available, locate the Shake to cancel line and turn this feature off.
Now, when you shake your iPhone, even slightly, the pop-up for canceling the last action taken will no longer be displayed.

3. Undo the last actions with another gesture
Now that Shake to Undo is disabled on your device, you will need to learn the associated gesture if you want to undo or redo an action. There are several on iOS to perform various actions.
To read also: How to use the new touch gestures of iOS 13?
Here are the ones you’ll need to undo an action:
- Double tap with three fingers to undo the last action
- Slide three fingers to the left to undo the last action
- Swipe right three fingers to redo the undone action