James felt himself losing consciousness.  He was frightened.  He didn't want this.  He was scared of what?
death coma forgetfulness
death
he randomly started losing consciousness without any reason therefore he was scared he was going to die
losing consciousness