A communication apparatus comprising: communication means configured to communicate with another communication apparatus and to perform transmission of image data in: a first communication mode in which image data displayed on a display unit of the communication apparatus is transmitted to the another communication apparatus; and in a second communication mode in which image data stored on a storage unit of the communication apparatus and not displayed on the display unit of the communication apparatus is transmitted to the another communication apparatus; the communication apparatus further comprising: reception means configured to receive, from a user, a designation of whether or not to perform transmission of image data by the first communication mode when the second communication mode, which has been executed with shifting from the first communication mode, is terminated, wherein, the communication means is configured, when the second communication mode, which has been executed with shifting from the first communication mode, is terminated, to: perform transmission of image data by the first communication mode in the case that the reception means receives a designation to perform transmission of image data by the first communication mode; and not perform transmission of image data by the first communication mode in the case that the reception means receives a designation to not perform transmission of image data by the first communication mode. communication means configured to communicate with another communication apparatus and to perform transmission of image data in: a first communication mode in which image data displayed on a display unit of the communication apparatus is transmitted to the another communication apparatus; and in a second communication mode in which image data stored on a storage unit of the communication apparatus and not displayed on the display unit of the communication apparatus is transmitted to the another communication apparatus; a first communication mode in which image data displayed on a display unit of the communication apparatus is transmitted to the another communication apparatus; and in a second communication mode in which image data stored on a storage unit of the communication apparatus and not displayed on the display unit of the communication apparatus is transmitted to the another communication apparatus; the communication apparatus further comprising: reception means configured to receive, from a user, a designation of whether or not to perform transmission of image data by the first communication mode when the second communication mode, which has been executed with shifting from the first communication mode, is terminated, wherein, the communication means is configured, when the second communication mode, which has been executed with shifting from the first communication mode, is terminated, to: perform transmission of image data by the first communication mode in the case that the reception means receives a designation to perform transmission of image data by the first communication mode; and not perform transmission of image data by the first communication mode in the case that the reception means receives a designation to not perform transmission of image data by the first communication mode. reception means configured to receive, from a user, a designation of whether or not to perform transmission of image data by the first communication mode when the second communication mode, which has been executed with shifting from the first communication mode, is terminated, wherein, the communication means is configured, when the second communication mode, which has been executed with shifting from the first communication mode, is terminated, to: perform transmission of image data by the first communication mode in the case that the reception means receives a designation to perform transmission of image data by the first communication mode; and not perform transmission of image data by the first communication mode in the case that the reception means receives a designation to not perform transmission of image data by the first communication mode. perform transmission of image data by the first communication mode in the case that the reception means receives a designation to perform transmission of image data by the first communication mode; and not perform transmission of image data by the first communication mode in the case that the reception means receives a designation to not perform transmission of image data by the first communication mode.