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