Undo

You might say

This change is wrong—undo it and put things back the way they were before I touched them.

Undo rolls your last action back exactly as it was—Ctrl+Z brings the wrongly deleted row back, no retyping.Press Ctrl+Z (Cmd+Z on Mac) to step backward, and redo to step forward again if you go too far. It has limits: usually only the last several steps, and the history is gone after refresh or close—important deletions still deserve a confirmation rather than relying on undo.
Know first
Ctrl+Z

You can say this to an AI Agent

Ready to paste into Cursor, Claude Code, or Codex
Structured AI Agent prompt

Add undo to the table's delete action: Ctrl+Z restores a wrongly deleted row exactly as it was. Keep the confirmation dialog before deleting as well.

Want your Agent to translate plain-language UI ideas automatically?Install free VibeHub Skill →
Further reading