A receivership action against a corporation may be discontinued at any time when it is established that cause for the action no longer exists. In such event, the court shall dismiss the proceedings and direct the receiver to redeliver to the corporation all its property remaining in his hands. Upon such redelivery, the corporation shall be revested with full rights in such property and in its franchises as if the receiver had not been appointed.
N.J.S. § 14A:14-19