Hello Shiva,
The register settings that are present following POR will generally disable the various modules. If you wish to explicitly disable the modules within you code, look in the datasheet for the reset or POR values applicable to each control register.
You do not say which MCU part you are using. The code you are using to enter stop 3 mode, and the RTI setup code would also assist.
Regards,
Mac