By using Qm you are reverse the goods vendor. Hope the mvt type is 161. check in PO history.
What are the further documents are created Return delivery and credit memo. If you want cancel the return delivery, First you should delete the credit memo.
And also check what patra is suggested.
Try with MR8M for cancellation.