From the booklet of Rabbi David Shalom Naki, shlit"a: a son sitting in a pool or a mikveh, when his father enters, should rise to his full height, and from a mikveh he should hurry to leave, since they may not bathe together. Although it is not a hidur to stand thus before his father, rising before parents is from the mitzvah of mora, which applies in every situation, as Turei Even and the Rokach wrote.