Ed had been warned there were jellyfish in the water.
He got out of the water as fast as he could.
he went into the water and did not realize he was close to jellyfish.
He went into the water and did not realize he was miles from the nearest jellyfish.