@matigo You can disable Shake to Undo under Settings > Accessibility > Touch.
(Its replacement since iOS 13 is a three-finger touch and hold to summon a floating bar that includes undo/redo, or directly swipe left with three fingers to undo, right to redo.)
/@jextxadore