Change actor's guard command midway through game?

As the title says, I want to know how I could change an actor's guard skill to a different skill as the game is open.
I personally would use Yanfl's Weapon Unleash plugin:

Specifically the<Custom Replace Guard> notetag.
Hime's Actor Battle Commands can also accomplish this. You can set up commands via notetags for whatever you want. In the game, you can then hide and show specific commands via script call.

It's probably more versatile, but maybe Yanfly's Weapon unleash will be enough already.

Original thread: https://forums.rpgmakerweb.com/threads/change-actors-guard-command-midway-through-game.157274/