How to Turn Off SATA Hat Top Board Fan After Raspberry Pi Shutdown?

Hello everyone!
I bought a ‘SATA hat top board’ for cooling my Raspberry Pi 5, but after I issue a poweroff command, the fan remains on. Is there a way to make the fan turn off when the Raspberry Pi is powered down?

Thank you!

Hello,
After our test, Raspberry PI 5 does not have the problem that the fan is still on after shutdown. We control the fan through GPIO27, please check if there is anything affecting this pin.
Our program does not control the shutdown behavior, we will try to control this behavior, which may be able to fix your problem, please wait for our good news.