chagrin

Definition

A feeling of annoyance or embarrassment caused by failure or disappointment.

Example

"To his chagrin, he realized he had forgotten his lines during the presentation."