You can kill the final boss before triggering its objective (part of it stuck outside the ground, so I shot at it)

This, of course, prevents the quest from finishing