Starlink could shut it down for Ukraine on a whim, right in the middle of the mission. That's all one needs to know.
This is an ongoing issue left over from stories earlier this year of Russia using Starlink. Something both Ukraine and the Pentagon are saying SpaceX is proactive in cooperation.
Unless you're asking SpaceX to turn off Starlink in Ukraine period.
One way to limit this issue right now is to cut the speed of mobility below 100 km/hr. I don't know if it can be done locally only.
Moreso this is a situation where data is being given to Ukraine and the Pentagon. Likely live (SpaceX sells monitoring dashboards to Enterprise customers) so they can work with that data