Dotnet

var content = await repository.LoadContentAsync("/Root/Content/IT/Document_Library/Calgary/BusinessPlan.docx", cancel);
await content.ForceUndoCheckOutAsync(cancel);