Can I sublet my apartment?

Very rarely.  Some landlords may let you get out of a lease if you provide a new tenant to take over the remainder, providing the new tenant makes a new application and passes all the required credit checks, etc.  But there may be a fee and you may still be responsible for the rent if the new tenant doesn’t work out.