If you are truly at end of contract and have fullfilled the terms, then yes, the company owes you a ticket home. However, if you have NOT fullfilled the terms of the contract, the contract may have a clause that states your must pay your own way home.