Use the following procedure to remove vMA from the domain.
A domain must exist in vMA.
Run the following command from the vMA console, to remove vMA from the domain: sudo domainjoin-cli leave
The vMA console displays a message stating whether vMA has left the Active Directory domain.