to stop doing or having sth; to make sth end
do away with sth
He thinks it's time we did away with the monarchy.
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition