Complex sentence: The two setbacks placed Bonaparte in a dangerous situation, as the two arms of the Austrian offensive closed around him while Würmser's large garrison remained in his rear.
Split into simpler sentences: The two setbacks placed Bonaparte in a dangerous situation, as the two arms of the Austrian offensive threatened to close around him. Meanwhile, Würmser's large garrison remained in his rear.