M502 followed by M500 fixed the problem. Thank you!