As my post above indicates: The following commands may only work on v4.x version My Cloud’s.
Because you have the v2.x My Cloud (newer generation than the older v4.x version My Cloud) the commands are probably in a different place/location. If you see the Safe shutdown link I posted above one user mentions the proper command to trigger the shutdown on v2.x My Cloud’s: /usr/local/modules/script/shutdown.sh
. See the full command at the end of this post. And that same user then confirms it works, that thread continues from those two posts with other discussion that may be relevant including a second user who confirms that SSH command works under v2.x firmware.
https://community.wd.com/t/safe-shutdown/147307/26
SSH command: /usr/local/modules/script/shutdown.sh -h now