It's Main Menu / Social / Free Company...

Then you go to the User section in the Free Company window.

At the bottom left there is a 'leave company' option.

Hope I remembered this right!!!