Source: Xanathar's Guide to Everything
Wondrous item, common
When you grasp this walking cane and use a bonus action to speak the command word, it transforms into an ordinary longsword and ceases to be magical.