Unlike the NAS-outage hang in https://xcp-ng.org/forum/topic/12563, this one doesn't need an outage at all, and you're not the only one seeing it: @acebmxer found the same leftover .nfs files after disabling a remote in that thread (https://xcp-ng.org/forum/post/109662) and wrote it up as "Test 2" on https://github.com/vatesfr/xen-orchestra/issues/10741.
I ran three disable/enable cycles from xo-cli on an XO from sources at your commit 54051163e and on a regular XOA on 5.213.4, and I only got half of what you describe: one keeper stays open after disabling (two on the XOA) and the share stays mounted even after I deleted the remote, but the count never grew for me, it came back to the same number every cycle.
From what I saw in _mount.js at that commit, _sync() seems to close the previous keeper before opening a new one, which would lean towards your "several handlers for the same remote" idea rather than an overwrite, though I'm not a dev and may well be missing a path.
Were you toggling from the web UI, and how far apart were your cycles? That's the one difference I can't rule out on my side.
Maybe a separate GitHub issue linked from #10741 would be cleaner than another comment there, since yours happens without the NAS going away (I'm not sure which the devs prefer), and a mention to @Team-XO-Backend might help the right people see it.