In his delight he lifted up his voice and brayed , but then every one knew him , and his owner came up and gave him a sound cudgelling for the fright he had caused .