Witnesses say Hamas forces seized Attorney General Ahmed Mughani at his office in Gaza City and released him a short time later .