A printing apparatus comprising: a job storage unit (33, 34) configured to store a print job; a printing unit configured to perform a printing operation based on the print job stored in the job storage unit (33, 34); a receiving unit configured to receive an operation from a user, the operation being an instruction to disconnect connection with an external apparatus; and a first control device configured to perform: an establishment process of establishing the connection with the external apparatus; a storage process of storing the print job received from the external apparatus in the job storage unit (33, 34); a disconnection process of disconnecting the connection in response to the disconnection instruction received by the receiving unit, characterized in that the first control device is further configured to perform: a first deletion process of deleting the print job, for which a printing-related operation has been completed, from the job storage unit (33, 34); a first changing process of changing a notification flag from OFF to ON when receiving a job acquisition notification from the external apparatus, wherein the job acquisition notification indicates that the external apparatus has received the print job and that the printing apparatus is designated at the time that the print job is received by the external apparatus; a second changing process of changing the notification flag from ON to OFF when deleting the print job from the job storage unit (33, 34); a prohibition process of prohibiting performing the disconnection process after the printing-related operation starts until all the print jobs are deleted from the job storage unit (33, 34) and also when the notification flag is ON. a job storage unit (33, 34) configured to store a print job; a printing unit configured to perform a printing operation based on the print job stored in the job storage unit (33, 34); a receiving unit configured to receive an operation from a user, the operation being an instruction to disconnect connection with an external apparatus; and a first control device configured to perform: an establishment process of establishing the connection with the external apparatus; a storage process of storing the print job received from the external apparatus in the job storage unit (33, 34); a disconnection process of disconnecting the connection in response to the disconnection instruction received by the receiving unit, an establishment process of establishing the connection with the external apparatus; a storage process of storing the print job received from the external apparatus in the job storage unit (33, 34); a disconnection process of disconnecting the connection in response to the disconnection instruction received by the receiving unit, characterized in that the first control device is further configured to perform: a first deletion process of deleting the print job, for which a printing-related operation has been completed, from the job storage unit (33, 34); a first changing process of changing a notification flag from OFF to ON when receiving a job acquisition notification from the external apparatus, wherein the job acquisition notification indicates that the external apparatus has received the print job and that the printing apparatus is designated at the time that the print job is received by the external apparatus; a second changing process of changing the notification flag from ON to OFF when deleting the print job from the job storage unit (33, 34); a prohibition process of prohibiting performing the disconnection process after the printing-related operation starts until all the print jobs are deleted from the job storage unit (33, 34) and also when the notification flag is ON. a first deletion process of deleting the print job, for which a printing-related operation has been completed, from the job storage unit (33, 34); a first changing process of changing a notification flag from OFF to ON when receiving a job acquisition notification from the external apparatus, wherein the job acquisition notification indicates that the external apparatus has received the print job and that the printing apparatus is designated at the time that the print job is received by the external apparatus; a second changing process of changing the notification flag from ON to OFF when deleting the print job from the job storage unit (33, 34); a prohibition process of prohibiting performing the disconnection process after the printing-related operation starts until all the print jobs are deleted from the job storage unit (33, 34) and also when the notification flag is ON.