Use the Undo Last Layout command from the Edit menu to undo the last layout command that you actioned.
To undo the last layout command, perform one of the following actions
Select the Undo Last Layout command from the Edit menu.
Click the Undo toolbar button.
Press Ctrl+Z
The last layout command that you actioned is then undone and the change made by that action is rolled back.