Did the twelve apostles understand Jesus' coming death and resurrection?

No, Scripture says they understood none of these things at that time.

Watch the Teaching: Why Was the Gospel of Grace Given Only to Paul?