Definition
to kill someone deliberately
The police investigated the mysterious disappearance, suspecting that someone tried to do away with the witness.
Their plan was to do away with the traitor in order to protect their organization.
In the movie, the protagonist manages to do away with the villain who is chasing him.