What is the meaning of Yikes?

Expression of shock and alarm.

Expression of empathy with unpleasant or undesirable circumstances.

Source: wiktionary.org