Oh, he was on guard duty. I thought he was just standing in the corridor before you got to the guard.
Right, you're within stabbing range of the orc's sword right now. Unless you can cast faster than he can thrust I'd suggest you attempt to not provoke him. And slowly back away.