Detach process