Yes. Refunding a payment from Publisher Account or the API will cancel the subscription linked to it.