As long as the box was 1m off the floor. it's potential energy was m•g•h = 30•9.8 = 294 joules. When the person stopped restraining the box and allowed it to move, gravity did 294 joules of work on the box, and would have done more if the floor hadn't been in the way. The person did no work on the box.