Will you end up gaining weight if for the last week all you've had is a lot of coffee because it kills your appetite and one small meal a day and you look skinnier?

You will not gain weight by doing this but... you will not lose weight quickly either. Your body will respond to this starvation by holding on to all the fat you have to survive. Also when you start eating right again your body will store it and be reluctant to let it go.