Subcategories will automatically be listed on their main category page under the heading: In this category.
You can hide the display of subcategories.
- Select the main category.
- Click Edit.
- Then tick the option: Hide Subcategories.
- Click Save.
- Then Publish Now.