The ToS for Starlink Maritime isn't available, but this partner brochure[1] says:
"Starlink Maritime is available for use in waters around the globe. Coverage in Territorial Waters is contingent on government approval." (italics in original)
"* Starlink Maritime service is provided on a best effort basis; stated speeds and uninterrupted use of services are not guaranteed."
So yes, Starlink will have ample reason and cause to shut down any ELCOME (etc) terminals found operating inside Ukraine or its territorial waters. Starlink terminals all have built-in GPS, so from a technical standpoint this is trivially easy.
[0] https://www.thenationalnews.com/business/technology/2023/01/...
[1] https://www.speedcast.com/wp-content/uploads/2022/09/Speedca...