When he thought all was going well, A gaurd spotted him from down the hall when he was nearing the western gate.