Offender told to 'get up and leave' before sentence passed.