You have to go back to court. The Sheriff released you early- not uncommon in Los Angeles . You will not have to back to jail if you did everything else judge requested.
Since you say you have already been sentenced, I presume you were represented by an attorney during your court proceedings. You should speak to him.
The response above is not intended as legal advice. This response does not create an attorney-client relationship. Legal questions can only be fully answered through consultation with an attorney to whom you give full and accurate details. Anything you post here is not confidential and is not protected by the attorney-client relationship. It is highly recommended that you seek advice from a criminal defense attorney licensed in your jurisdiction by setting up a confidential meeting.