Unless otherwise ordered by a court, if an undertaking has not been given, the levying officer shall release the attachment after the expiration of 10 days from the date of mailing of the notice of filing of the request for release to the plaintiff. If the required undertaking has been given, the levying officer shall immediately release the attachment pursuant to the request for release of attachment. (CCP 493.040(f))