Omitting 'in' does not destroy the sentence structure, but it does alter the meaning. With 'in', the trying is a direct cause of the endangerment; without 'in', the endangerment is a side effect.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Anonymous I also am wondering if "in~ing" and "by ~ing" have the same meaning all the time or in just some cases.