No, they are not required to continue your salary. All employment is employment at will: an employer may terminate an employee, or change his or her job, or change his or her salary/wages, at any time, for any reason, without prior notice. The only exception would be if you had a written employment contract guarantying you work at a certain salary; if so, you could enforce the contract's terms in court, via a "breach of contract" lawsuit.