Telling someone to stop is not an effort or attempt to detain but simply to get the suspect to stop and talk to them to clear up what is was doing or not doing in that house.They attempted to detain him.
That’s enough.
In criminal law, to detain an individual is to hold them in custody, normally for a temporary period of time.
An attempt to detain would be to grab someone and try to hold them.
The jury will have no problem seeing through the b.s. of attempting to detain.