When it was reported to Solomon that Shimei had gone from Jerusalem to Gath and had returned,