So when a rocket is launched;

a=T-mg/m

You sub in g=+9.8ms^-2

However, when the rocket is returning to earth, do you still use +9.8ms^-2 or -9.8ms^-2?

Thanks.