"Alack" can also be used to express frustration or annoyance. For example, in The Taming of the Shrew, Petruchio says "Alack, my masters, how is't possible you will not know what you must all know?" Here, "alack" is used to express Petruchio's frustration with the other characters.
"Alack" is a versatile word that can be used to express a variety of emotions. It is a useful word to have in your vocabulary, as it can add depth and nuance to your writing.