Also for anyone with the same issue if you can remotely run the below script on the machine it will repair the secure channel to the domain. Just update the username and password variables for your local domains. This can be run remotely on a machine even if its sat in a broken state, without the need to actually login unplug etc. Once run correctly it will return values of true or false, and once its reconnected the machine to the domain you can login straight away.
$username = "domain\adminaccount"
$password = "password for account" | ConvertTo-SecureString -AsPlainText -Force
$credential = [PSCredential]::new($username, $password)
Test-ComputerSecureChannel -Repair -Credential $credential