Ernest Hemingway said this quote

Cowardice as distinguished from panic is almost always simply a lack of ability to suspend the functioning of the imagination.