Unless it occurs less than two months before the date of the hearing before the court of appeal, the withdrawal by the accused or the civil party of his principal appeal shall result in the lapse of the cross-appeals, including that of the public prosecutor if such withdrawal occurs in the form provided for the statement of appeal. A cross-appeal is an appeal lodged within the period provided for in article 500, as well as appeals lodged, following a previous appeal, within the time limits set out in articles 498 or 505, where the appellant specifies that it is a cross-appeal. In all cases, the public prosecutor can always withdraw his appeal lodged after that of the accused if the latter withdraws. The withdrawal of the appeal is recorded by order of the president of the Criminal Appeals Chamber.