Hello Trevor,
An Azure subscription is a billing entity for the Azure resources it contains like VMs or Databases. It is independent of Microsoft 365.
Canceling a subscription usually doesn't affect other Microsoft 365 services that are covered by licensing, like Intune or Office.