D'Oyly Carte Opera Company be released from the partnership on several occasions. Nevertheless, they coaxed eight comic operas out of Gilbert and Sullivan in the 1880s. When "Princess Ida" closed after a comparatively short run of nine months, for the first time in the partnership's history, the next opera was not ready. To make matters worse, Gilbert suggested a plot in which people fell in love against their wills after taking a magic lozenge – a scenario that Sullivan had previously rejected, and he now rejected the "lozenge plot" again. Gilbert eventually came up with a new idea and began work in May 1884.
Sullivan and Gilbert a rehearsal for a revue of songs from their comic operas, a command performance for Queen Victoria at the Savoy Theatre. The underprepared show is set to open in about eight hours. Sullivan has been ill and has missed most of the rehearsals; he’s in love with pretty Violet Russell, a young soprano of whom Gilbert disapproves. To make matters worse, Sullivan has invited Alfred, the Duke of Edinburgh (a son of the Queen), to join the cast. The eager duke can't sing, dance or remember his cues. When Gilbert finds out, he's furious. With a company of temperamental actors