A subdomain is an additional part of your primary domain. Please, follow this tutorial to remove a subdomain in cPanel.
Steps to remove a Subdomain in cPanel
-
Log in to your cPanel account.
-
In the Domains section, click on Domains.

-
Locate the Subdomain you want to remove and click Manage next to it.

-
Scroll down, click on Remove Domain, and confirm the removal.
You should see a message that your Subdomain has been removed.