3,181 security officials return to posts