Dear Sir / Madam:
Your question is a bit concerning. If you want to be able to come and go from the United States, you probably do not want to surrender your green card. You may want to apply for a reentry permit rather than abandon or give back your status. You should contact an immigration attorney to discuss your plans.
*Please note that this response does not create an attorney-client relationship.