As tensions flared, an influential group of merchants known as the Chinese Six Companies sprang into action.