Transferring High Schools (AP Classes Recommendation)

Hi,
I’m a high school freshman and I am currently taking chemistry 2/2 honors and my teacher has given out forums for AP classes for next year. But, I’m transferring out of this school next year. So, how does it work can my teacher in this school recommend me for the AP class and I can give the forum to the school that I am transferring to next year?