You can leave any time you want. Many things to consider, if you are not a trust fund kid then I'd stick it out until you find another job. If you are on the fence at the end of your trial period then having a direct conversation with your manager might help them better define the position to your interests. In my experience, employers that have a six month trial period have a hard time hiring, and therefore firing, people so they may be motivated to make it a better fit for you.