The Secretary of the Navy, when a stay under this chapter is in effect, may file with the court, or a judge of the court, a certificate extending or shortening the time stated in the prior certificate. The filing of such a new certificate extends or shortens the stay to the period specified in the new certificate or terminates the stay if the new certificate so states.