Pressing the “U” key may or may not have given you control of “custom shape tool. " i. e. you wound up with the “Polygon Shape Tool. " Let’s see. Look to your “Tools” panel and long-click the current shape tool button to reveal the sub-set of shape tools. Now click to select “Custom Shape Tool. "