Mmmm interesting one.
The horizontal run from the grid switch is fine as is the vertical rise from the socket, they are both in permitted zones.
The only doubtful part is the cable drop from the 90 degree bend to where it disappears into the cupboard, since there is nothing immediately visible...