Try to not shake/move/disrupt it, put a contractor bag over it as carefully as possible, tie that bitch air tight and chop the stalk and yeet it out of the room. Those yellow banana looking parts are covered in highly volatile near invisible to the eye pollen and that pollen will cause seeds in your flowering plants.
Moving around, chopping up the plant will only spread the pollen around. Cut all fans, insert contractor bag over plant, tie tight around the stalk and chop that bitch.
The more you fuck with hermie plants and leave them in your flowering room the more seeds you will have in your finished product.