Stop input before deleting