Switching from Data Mode to Command mode

Thanks for the reply, but this is what I am doing that is not working.