You may not be familiar with this problem yet, but gd32vf103 has erroneous trait - that is, that it can not be reset through DMI - Debug Module Interface.
cf. GD32VF103 复位的问题 https://gitee.com/zoomdy/RV-LINK/wikis/复位的问题?sort_id=1667641
I’ve tried and somewhat succeeded to alleviate this problem with a cleverly improvised openocd script.
gd32vf103.cfg https://gist.github.com/elfmimi/1deb9c94b0f0900ae8a9df740b62bcd6
Please have a try. 请试一试。