Whistle in the dark

To try to stay brave and forget one`s fear.

The man felt very frightened and began to whistle in the dark. This helped to calm him down.