Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
It is not possible to remove an activated Office licence form your Microsoft account, when the licence is activated it becomes associated to the Microsoft account used as a permanent digital licence.
Why do you need to remove the Office licence from your account, are you trying to move the Office licence to another Microsoft account.