Those two things are not the same of course. If I ignore it, will it leave me alone? If yes, it is not a government.
You can have governance without government. Government means, by definition, that it is not voluntary. I can easily voluntarily join a community and live by their standards. If I don't like them, I leave.
I voluntarily agree to do no harm to others or their property too. Most people do that, and no government is needed. Take any largely populated event. Are laws and the government keeping those people peaceful and their interactions voluntary, or are they doing it simply because that's what is ethical?