In nature, animals walk on plants all the time, cannabis is really good at repairing itself. It's not stress that will cause hermaphrodite problems.

What will happen is the growth rate will be slightly stunted for a few days, but the stems will also get stronger then if there was no break, and the lower branches will have enhanced growth, so the overall yield will actually probably be higher!

Be careful with the light hanging of course, especially with HID, fire is a bad thing.