A person charged with an offense, who is released upon the execution of an appearance bond with a surety, may be arrested by the surety, and if so arrested, shall be delivered promptly to a United States marshal and brought before a judicial officer. The judicial officer shall determine in accordance with the provisions of section
3148
(b) whether to revoke the release of the person, and may absolve the surety of responsibility to pay all or part of the bond in accordance with the provisions of Rule 46 of the Federal Rules of Criminal Procedure. The person so committed shall be held in official detention until released pursuant to this chapter or another provision of law.