Here are corrections to the ambiguous sentences:
1) Pat likes poems in English and novels in English.
2) The police stopped the man who had a gun.
3) They decided while on the boat.
4) After the dentist drilled my tooth, my cavity stopped aching.
5) While crashing on the shore, I could hear the waves.
6) Because I arrived a day late, the tickets were worthless.