Complex sentence: His main activity then was turned to the incidental music for theatre, film and television, continuing to compose and publish his serious works in secrecy.
Split into simpler sentences: His main activity then was turned to the incidental music for theatre, film and television. But he continued to compose and publish his serious works in secrecy.