A man with no shirt on is performing with a baton.
A man is doing things with a baton.
When the man is performing with a  baton he is doing things.
Doing things with a baton is a way of performing with it.
A man is not wearing shirt while doing things with baton.