GSM shield, interruptions and sleeping code

but I was expecting to control the 5V pin directly with those functions.

Time to adjust your expectations, I think.