It’ll be fine as long as you don’t try and start it up again within a few minutes of turning it off.
Pressure just needs to slowly bleed from the high pressure side to the low pressure side of the compressor before it starts again, so that it isn’t initially stalled against high pressure.
These kind of “manual” a/c units normally have a little sticker or a caution in the manual to “wait 5 minutes before restarting”.
People can easily trigger this kind of thing just by turning the thermostat back and forth, so there is usually a thermal cutout on the compressor to keep them mostly safe.
You can usually hear it when it activates, there will be a hum from the stalled compressor for a few seconds and then a little click, and then the compressor won’t start for a minute or two.