Abishai was angry at Shimei for cursing David and is suggesting that he should be killed. This question can be written as a statement. AT: "Shimei should be put to death because he cursed Yahweh's anointed." (See: [[rc://en/ta/man/translate/figs-rquestion]])
This refers to David. It means that he is the man that Yahweh had anointed as king. AT: "the man that Yahweh has anointed as king" (See: [[rc://en/ta/man/translate/figs-explicit]])