haha !!!
of course not my friend... if you stop gym, stop exercising, eat too much, with time you will lose the muscle and you will gain fat !!!
but if you leave the gym but do some tiny(warming) exercise at home, it is enough to keep the muscle right on :)