Complex sentence: It is only seeing Sachiko that snaps 8-Man out of this and causes his cybernetic brain to resume control and 8-Man looks around in shock and confusion and then leaves even as Sachiko realizes this 8-Man is not Azuma-san.
Split into simpler sentences: It is only seeing Sachiko that snaps 8-Man out of this and causes his cybernetic brain to resume control. He looks around in shock and confusion and then leaves, even as Sachiko realizes this 8-Man is not Azuma-san.