The detail that best helps convey the mood of the excerpt is:
"he had failed in a more subtle ambition, and for the moment he was heartsore and disillusionized."
This detail provides insight into the character's emotional state and suggests a mood of sadness and disappointment.