To edit a category, click the Pencil icon next to the category name. From there, you can update:
To remove a category you no longer need, click the Trashcan icon.
Extra tip: The category list shows product counts (e.g., “Shoes (1)”) so you can quickly see how many items are assigned.
Visual (illustration):