HRS §702-224
When you are not considered an accomplice to a crime
This section says when a person is not treated as an accomplice in someone else's crime. You are not an accomplice if you are the victim, if your involvement is unavoidable because of how the crime is defined, or if you stop helping before the crime and either make your help useless or warn police in time.
everyone
The statute, as written — Liability for conduct of another; exemption from complicity
Unless otherwise provided by this Code or by the law defining the offense, a person is not an accomplice in an offense committed by another person if: (1) He is a victim of that offense; (2) The offense is so defined that his conduct is inevitably incident to its commission; or (3) He terminates his complicity prior to the commission of the offense and: (a) Wholly deprives his complicity of effectiveness in the commission of the offense; or (b) Gives timely warning to the law enforcement authorities or otherwise makes reasonable effort to prevent the commission of the offense.
LawTrove is not legal advice. The summary above is a computer-generated restatement — the authoritative text is the official version linked above.