Dealing with angry iron golems without a bow

An iron golem works like the wolf in terms of aggresivity, so you should do the following.

  1. Gather up 3-4 stacks of dirt or other scaffolding.
  2. Break out of the house through the ceiling and pillar up 10-15 blocks.
  3. While crouching, build your way out of the village until the village’s chunks don’t render anymore. The iron golem will not follow you outside the village limit because of it’s AI.
  4. Get down safely.
  5. Wait for at least 20 minutes. (IRL)
  6. You can now re-enter the Village safley.

P.S. An alternative is quickly opening the door to your house, hitting the golem and closing it again. Rinse and repeat until dead.