Unregister by using the command line
Use the unregister command to unregister a RHEL system from Red Hat Subscription Management Server.
Procedure
sudo, without any additional parameters.
# subscription-manager unregister
The system is unregistered from the Subscription Management Server, and the status 'System Not Registered' is displayed with the button enabled.
To continue uninterrupted services, re-register the system with either of the management services. If you do not register the system with a management service, you may fail to receive the system updates.