For the ceremony , composer Henry Purcell wrote Music for the Funeral of Queen Mary .
When she died , Henry Purcell was called to write her funeral music , titled Music for the Funeral of Queen Mary .