Can confirm for 1.19.4.
Until this is fixed, another possible solution is to set the Leash UUID to a faraway entity (in a forceloaded chunk, for example) which will automatically break the Lead.
Can confirm for 1.19.4.