You will lose some other beneficial bacteria on the rock however there will still be a good amount left. Since the rock is already established, you are mostly depriving the GHA of the light source and bad water it needs to thrive. Just make sure you do water changes and keep a filter and heater running.