If you put it in initialization field of unit, put next one:
this setBehaviour "Safe"; this switchMove "EffectStandSitDown"
And if you want to do it by script, waypoint or trigger, put your soldier's name besides of "this".
PJK
PS: I have noticed, that unit without weapon and ordered to sit down, sit down, but stand up after two seconds.