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-assurance
noun
The state or quality of being confident in oneself.
How often have the words presence of mind and self-assurance occurred in a corpus of books? (source: Google Ngram Viewer )