This can't be undone. A category that still holds products or sub-categories can't be deleted: move them out first.