Focused alertness, quick-thinking resourcefulness, stability of thought and feeling, or good sense, especially in spite of circumstances which are distracting, stressful, or otherwise challenging.
self-doubt
noun
The doubting of one's own abilities.
How often have the words presence of mind and self-doubt occurred in a corpus of books? (source: Google Ngram Viewer )