You can disable LDAP integration using the Element UI.
You have made a note of all the configuration settings, because disabling LDAP erases all settings.