A feeling of chagrin comes when you feel disappointed or embarrassed about something that didn't go as planned.
Chagrin can sneak up on you after a failed attempt at something. Imagine you spent all day cooking a big dinner for your friends, but it turns out to be a disaster - the flavors don't work together and everything is overcooked. You might feel chagrin when your guests politely try to eat the meal, but everyone knows it's not very good. It's like a mix of disappointment and embarrassment that makes you want to hide under the table! This feeling can also come from things that didn't turn out as expected at work or in your daily life - maybe a big project didn't go well or you made a silly mistake in front of others.
Distress of mind caused by a failure of aims or plans, want of appreciation, mistakes etc; vexation or mortification.
Example: much to the chagrin (of)
