Although the reference given above ...
https://www.twinenglishcentres.com/blog/spelling-rules-changing-y-to-ies
... does not make it explicit that it is only talking about words that are nouns, it does mention that the rules apply to items or things.
One of the examples above is "Accompany", and the plural given as "Accompanies".
My problem is that the word "accompany" is not a noun, it is only a verb, and verbs have entirely different rules for different case. Here the word "accompanies" is the third person singular of the verb "accompany"
I accompany you, he accompanies me.
If the example had been "fly", "flies" I wouldn't have worried, because although "fly" is a verb, it also happens to be a noun, and in that case subject to these rules. Or better, just "company".
I'm sorry to persist with this point, but I do think it a good thing to be accurate in our answers where possible.