I am using Capella 5.1. After certain time, the Edit menu is greyed out and thus it is not possible to Undo an action. This happened at least two times last week and just now as far as I remember. One way a getting Edit menu to behave normally is to closed Capella and re-open it.
I suggests investigation what could cause that.