Request CLI commands for IPSEC site to site (not pepvpn)

We have consistent ipsec tunnel drops between peplink and fortigate. The only way I’ve found to bring the tunnel back is to restart the tunnel (disconnect ipsec then connect again). It comes up almost immediately.
While this works, I have to be available to do it, log in to the web GUI, and perform the steps above.
It would be AMAZING if SSH CLI commands included a way to shut down an ipsec tunnel and then start it back up again so that I could automate this process. We are not given ssh access at all on the Fortigate, but we have multiple tunnels with external clients, so this would GREATLY help us to maintain a reliable service platform for our clients.

Thinking out loud but forcing an ipsec block on the internal firewall would do the trick? If it works, then you can use tags and rules to push this change when it happens.

Are you referring to using incontrol to do this?
We will hopefully be acquiring incontrol licenses again soon, but do you know of a way to do this without incontrol?

It is not available in the api’s

Maybe try snmp? Not sure you can edit ipsec config.