Clue: Lungs initially heave in pain, a warning in the main (9)
Answer: LIGHTSHIP
Explanation: Definition: a warning in the main

**LIGHTS** ("lungs") + [*initially*] **H**(eave) **I**(n) **P**(ain)