When you remove it from a Domain, it will become a workgroup computer with a local account.
To leave the Domain, sign into your Local Account, click Start > Settings > System > About and then select Disconnect from the organization.
If that option is not available, click Start > Settings > Accounts > Access work or school > Select your account then click Disconnect.