Howto Remove An UCS Master From An AD Domain
Note The following is a rough sketch, not a detailed procedure description. Use at your own risk an match to your environment.
Remove the AD-connector app from your UCS master server
Unset all ucr variable related to
Delete the computer account on Windows AD (same name as the UCS server)
Re-install Ad-connector app and configure from scratch.