A ship's commissioning pennant should be flown at half0mast under which, if any, of the following conditions?